diff options
author | Yang Tse <yangsita@gmail.com> | 2012-12-05 11:43:40 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-12-05 11:43:40 +0100 |
commit | 7332a7cafba43c96893a8df9b08e5d15df4f3288 (patch) | |
tree | 4fedc48ceedc9917d67a4aa93c819c72ca5a6b7c /docs/examples/post-callback.c | |
parent | 23f8dca6fb91329fe78bb5a00527286692d2a357 (diff) | |
download | curl-7332a7cafba43c96893a8df9b08e5d15df4f3288.tar.gz |
examples: fix compilation issues - commit 23f8dca6fb follow-up
Diffstat (limited to 'docs/examples/post-callback.c')
-rw-r--r-- | docs/examples/post-callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c index f11fb983b..3e1cfb060 100644 --- a/docs/examples/post-callback.c +++ b/docs/examples/post-callback.c @@ -58,7 +58,7 @@ int main(void) struct WriteThis pooh; pooh.readptr = data; - pooh.sizeleft = strlen(data); + pooh.sizeleft = (long)strlen(data); /* In windows, this will init the winsock stuff */ res = curl_global_init(CURL_GLOBAL_DEFAULT); |