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
1 changed files with 1 additions and 1 deletions

View File

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