Sending infrared over mqtt error

Like this?

 sprintf(msg, ((uint32_t) (results.value >> 32), HEX));

That still gives the error message

and my prefer should be to get hex as output