RT3984: Fix clang compiler warning on Mac OS X where %ld is used for uint64_t.
authorAdam Eijdenberg <adam.eijdenberg@gmail.com>
Wed, 5 Aug 2015 02:08:22 +0000 (19:08 -0700)
committerEmilia Kasper <emilia@openssl.org>
Tue, 1 Sep 2015 18:18:46 +0000 (20:18 +0200)
commitfb029cebaeb6b0dbdb05a26a515e38a52a3c0fa1
tree36dea3d54c14d8e5bbefdd9d26eb5f6825ddb3d3
parent08a721ac613d69217b474a61882971ae9d4586d1
RT3984: Fix clang compiler warning on Mac OS X where %ld is used for uint64_t.

clang suggests %llu instead, but it isn't clear that is portable on
all platforms.

C99 and above define a handy macro for us, so we try to use that
definition and fall back to current definition if needed (though we
switch to 'u' for unsigned).

Reviewed-by: Matt Caswell <matt@openssl.org>
apps/enc.c
apps/s_client.c
include/openssl/e_os2.h