1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

typecast to int when printfing CURLcode

This commit is contained in:
Daniel Stenberg 2004-02-25 15:43:15 +00:00
parent 37817667e2
commit b2cff76722

View File

@ -106,7 +106,7 @@ void *fire(void *ptr)
code = curl_easy_perform(curl); code = curl_easy_perform(curl);
if( code != CURLE_OK ) { if( code != CURLE_OK ) {
fprintf(stderr, "perform url '%s' repeat %d failed, curlcode %d\n", fprintf(stderr, "perform url '%s' repeat %d failed, curlcode %d\n",
tdata->url, i, code); tdata->url, i, (int)code);
} }
printf( "CLEANUP\n" ); printf( "CLEANUP\n" );