summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-05-21 10:02:39 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2019-05-22 10:06:17 +0200
commit918987a844912b431f132b5c4d49fb73a0cb1a0e (patch)
tree98187584092036c11faf09d8cb19a8978fd2e420 /docs/examples
parent269f7df0aec1787011e809f16bbae0a9b0dee92f (diff)
downloadcurl-918987a844912b431f132b5c4d49fb73a0cb1a0e.tar.gz
http2-download: fix format specifier
Closes https://github.com/curl/curl/pull/3919
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/http2-download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c
index b4358fb6e..333b7df2c 100644
--- a/docs/examples/http2-download.c
+++ b/docs/examples/http2-download.c
@@ -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;