Hi, On Sat, Mar 25, 2017 at 05:21:18PM +0500, Ilya Shipitsin wrote: > [src/openvpn/options.c:1163]: (warning) %x in format string (no. 1) requires > 'unsigned int *' but the argument type is 'signed int *'.
Please use "uint8_t" then, and also adapt the "ret[i] = (uint8_t)byte" line - the cast would then be obsolete. Fixing compiler warnings needs to be done with a view of the surrounding context, otherwise it just makes complicated and inconsistant code. 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