examples: fix compilation issues - commit 23f8dca6fb follow-up

This commit is contained in:
Yang Tse
2012-12-05 11:43:40 +01:00
parent 23f8dca6fb
commit 7332a7cafb
3 changed files with 13 additions and 7 deletions

View File

@@ -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);