aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/getinmemory.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-05-06 19:44:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-14 09:43:15 +0200
commit13505dcb5573e256fd14daf97afefb8b9a7c6263 (patch)
treec0215e4e4d63516e18269010a0e1e882113ea790 /docs/examples/getinmemory.c
parent4c735b57f7cea253db2c863b75dcce2462fa77db (diff)
examples: Fix format specifiers
Closes #2561
Diffstat (limited to 'docs/examples/getinmemory.c')
-rw-r--r--docs/examples/getinmemory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/getinmemory.c b/docs/examples/getinmemory.c
index fb7947838..776bbd21a 100644
--- a/docs/examples/getinmemory.c
+++ b/docs/examples/getinmemory.c
@@ -100,7 +100,7 @@ int main(void)
* Do something nice with it!
*/
- printf("%lu bytes retrieved\n", (long)chunk.size);
+ printf("%lu bytes retrieved\n", chunk.size);
}
/* cleanup curl stuff */