]> granicus.if.org Git - curl/commitdiff
typecast to int when printfing CURLcode
authorDaniel Stenberg <daniel@haxx.se>
Wed, 25 Feb 2004 15:43:15 +0000 (15:43 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Feb 2004 15:43:15 +0000 (15:43 +0000)
tests/libtest/lib506.c

index 03acf9a10986955ce34d3efaeb382debcb9235f3..037b8753253b2eda1e8015f357f44c5b390f8a0c 100644 (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" );