From: Daniel Stenberg Date: Wed, 25 Feb 2004 15:43:15 +0000 (+0000) Subject: typecast to int when printfing CURLcode X-Git-Tag: cares-1_1_0~156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2cff76722152f48d3774939ae5e3b6824797032;p=curl typecast to int when printfing CURLcode --- diff --git a/tests/libtest/lib506.c b/tests/libtest/lib506.c index 03acf9a10..037b87532 100644 --- a/tests/libtest/lib506.c +++ b/tests/libtest/lib506.c @@ -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" );