]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Cast datasize to long to match %ld printf format.
authorSimon Josefsson <simon@josefsson.org>
Wed, 27 Aug 2008 10:29:19 +0000 (12:29 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 27 Aug 2008 10:29:19 +0000 (12:29 +0200)
lib/gnutls_handshake.c

index 1540cca2d5db95997e0b1f8ac6c4238622ae0462..04cfd0627187ceddda81f9890a1ffc55c4943977 100644 (file)
@@ -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...