aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
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;