From 2e60ca382dbe99bd294641dabf7e84a349b080c8 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 7 Aug 2007 00:10:27 +0000 Subject: Fixed some icc compiler warnings. --- tests/libtest/lib540.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/libtest/lib540.c b/tests/libtest/lib540.c index 4d22eb575..518afecd6 100644 --- a/tests/libtest/lib540.c +++ b/tests/libtest/lib540.c @@ -87,16 +87,16 @@ static int loop(CURLM *cm, const char* url, const char* userpwd, while ((msg = curl_multi_info_read(cm, &Q))) { if (msg->msg == CURLMSG_DONE) { - char *url; + char *usedurl; CURL *e = msg->easy_handle; - curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, &url); - fprintf(stderr, "R: %d - %s <%s>\n", - msg->data.result, curl_easy_strerror(msg->data.result), url); + curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, &usedurl); + fprintf(stderr, "R: %d - %s <%s>\n", (int)msg->data.result, + curl_easy_strerror(msg->data.result), usedurl); curl_multi_remove_handle(cm, e); curl_easy_cleanup(e); } else { - fprintf(stderr, "E: CURLMsg (%d)\n", msg->msg); + fprintf(stderr, "E: CURLMsg (%d)\n", (int)msg->msg); } } } -- cgit v1.2.3