From 7332a7cafba43c96893a8df9b08e5d15df4f3288 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 5 Dec 2012 11:43:40 +0100 Subject: examples: fix compilation issues - commit 23f8dca6fb follow-up --- docs/examples/post-callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/post-callback.c') 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); -- cgit v1.2.1