fix compiler warning for format string
authorChristian Grothoff <christian@grothoff.org>
Mon, 2 Jan 2017 08:46:48 +0000 (09:46 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 2 Jan 2017 08:47:05 +0000 (09:47 +0100)
src/gns/gnunet-gns-proxy.c

index ef9c7bf6262290cee19b9a41a8964a139228cb75..3a38970a824a48162db57d600662488cee59eb59 100644 (file)
@@ -1761,7 +1761,8 @@ create_response (void *cls,
   {
 
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "Processing %lu bytes UPLOAD\n", *upload_data_size);
+                "Processing %u bytes UPLOAD\n",
+               (unsigned int) *upload_data_size);
     
     /* FIXME: This must be set or a header with Transfer-Encoding: chunked. Else
      * upload callback is not called!