From: Yang Tse Date: Mon, 7 Apr 2008 15:40:49 +0000 (+0000) Subject: fix compiler warning: argument is incompatible with corresponding format string conve... X-Git-Tag: upstream/7.37.1~7924 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fd3ff40323cebc5181a279df124847e2ecc4310;p=platform%2Fupstream%2Fcurl.git fix compiler warning: argument is incompatible with corresponding format string conversion --- diff --git a/tests/libtest/lib554.c b/tests/libtest/lib554.c index f04bc81..01a5903 100644 --- a/tests/libtest/lib554.c +++ b/tests/libtest/lib554.c @@ -59,7 +59,7 @@ int test(char *URL) CURLFORM_END); if(formrc) - printf("curl_formadd(1) = %d\n", formrc); + printf("curl_formadd(1) = %d\n", (int)formrc); /* Fill in the filename field */ formrc = curl_formadd(&formpost, @@ -69,7 +69,7 @@ int test(char *URL) CURLFORM_END); if(formrc) - printf("curl_formadd(2) = %d\n", formrc); + printf("curl_formadd(2) = %d\n", (int)formrc); /* Fill in a submit field too */ formrc = curl_formadd(&formpost, @@ -79,7 +79,7 @@ int test(char *URL) CURLFORM_END); if(formrc) - printf("curl_formadd(3) = %d\n", formrc); + printf("curl_formadd(3) = %d\n", (int)formrc); if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) { fprintf(stderr, "curl_global_init() failed\n");