Hi, On Tue, Mar 28, 2017 at 02:54:03PM +0200, David Sommerseth wrote: > Gert proposed by a mistake to use uint8_t. As integers are most > commonly 32 bits, so uint32_t. But that may be of a different length on > some other platforms. So using 'unsigned int' is most likely the safest > type in this round. Or if wanting to be really portability safe, have a > look at what Simon pointed out, inttypes.h.
"unsigned int" is indeed perfectly correct for "%x" I was not paying enough attention (and this is why I call for extra care when doing "just a simple patch to fix a compiler warning", because more complicated patches usually get more attention...) Apologies for the noise I caused. Actually the *first* patch in the series might have been perfectly fine - need to check ;-) gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel