From: Simon Josefsson Date: Wed, 27 Aug 2008 10:29:19 +0000 (+0200) Subject: Cast datasize to long to match %ld printf format. X-Git-Tag: gnutls_2_5_5~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1d4e2c1967e2a76d9bd033990455a66200efc9f;p=thirdparty%2Fgnutls.git Cast datasize to long to match %ld printf format. --- diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c index 1540cca2d5..04cfd06271 100644 --- a/lib/gnutls_handshake.c +++ b/lib/gnutls_handshake.c @@ -962,7 +962,8 @@ _gnutls_send_handshake (gnutls_session_t session, void *i_data, memcpy (&data[pos], i_data, i_datasize); _gnutls_handshake_log ("HSK[%x]: %s was send [%ld bytes]\n", - session, _gnutls_handshake2str (type), datasize); + session, _gnutls_handshake2str (type), + (long) datasize); /* Here we keep the handshake messages in order to hash them...