diff options
author | Yang Tse <yangsita@gmail.com> | 2008-04-07 15:40:49 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-04-07 15:40:49 +0000 |
commit | 6fd3ff40323cebc5181a279df124847e2ecc4310 (patch) | |
tree | 3f7a45242d5b652bfd470859e0cf70d772ec5d41 /tests | |
parent | ab8d1464a7b5a11e1ec88c42ede77541e9314e6c (diff) |
fix compiler warning: argument is incompatible with corresponding format string conversion
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib554.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/lib554.c b/tests/libtest/lib554.c index f04bc811a..01a5903ea 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"); |