]> granicus.if.org Git - curl/commitdiff
http2-download: fix format specifier
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 21 May 2019 08:02:39 +0000 (10:02 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 22 May 2019 08:06:17 +0000 (10:06 +0200)
Closes https://github.com/curl/curl/pull/3919

docs/examples/http2-download.c

index b4358fb6e8fe9bf41ce9d6015953c90606dbc07a..333b7df2c759eed615231d1dacbc7acf5e40ddcd 100644 (file)
@@ -110,7 +110,7 @@ int my_trace(CURL *handle, curl_infotype type,
 
   switch(type) {
   case CURLINFO_TEXT:
-    fprintf(stderr, "== %d Info: %s", num, data);
+    fprintf(stderr, "== %u Info: %s", num, data);
     /* FALLTHROUGH */
   default: /* in case a new one is introduced to shock us */
     return 0;