summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-25 15:43:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-25 15:43:15 +0000
commitb2cff76722152f48d3774939ae5e3b6824797032 (patch)
tree1d21592ad97bc484eddbea0736cccafca6519925 /tests
parent37817667e2d633ef8121236da114db6c0ce30a60 (diff)
downloadcurl-b2cff76722152f48d3774939ae5e3b6824797032.tar.gz
typecast to int when printfing CURLcode
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib506.c2
1 files changed, 1 insertions, 1 deletions
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" );