Am 01.05.21 um 15:06 schrieb Antonio Quartulli:
> From: Antonio Quartulli <anto...@openvpn.net>
> 
> To print a 64bit poiner, fprintf() must be provided with the appropriate
> format specifier.
> 
> The most portable in this case is PRIx64, which is redefined accordingly
> on each platform. It comes from inttypes.h and it's the recommended way
> to print a 64bit long hex value.

Yes. I checked at there seem to be no portable integer same size as
pointer, so the ifdef with a 64 bit int is okay here.

Acked-By: Arne Schwabe <a...@rfc2549.org>


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to