summaryrefslogtreecommitdiff
path: root/docs/examples/anyauthput.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-02-11 10:21:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-02-11 10:21:09 +0100
commitd202fbcc002665f85a6716af918454aff767c0ba (patch)
tree740ba52ae7a0f0b0d4cdeb4830ec2002889d640a /docs/examples/anyauthput.c
parent888e4b682193157960d2d33e578fc074d83c9985 (diff)
downloadcurl-d202fbcc002665f85a6716af918454aff767c0ba.tar.gz
examples: fix some compiler warnings
Diffstat (limited to 'docs/examples/anyauthput.c')
-rw-r--r--docs/examples/anyauthput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c
index bc6ee5fff..2f260a132 100644
--- a/docs/examples/anyauthput.c
+++ b/docs/examples/anyauthput.c
@@ -100,7 +100,7 @@ static curlioerr my_ioctl(CURL *handle, curliocmd cmd, void *userp)
/* read callback function, fread() look alike */
static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
{
- size_t retcode;
+ ssize_t retcode;
curl_off_t nread;
intptr_t fd = (intptr_t)stream;