Skip to content
Snippets Groups Projects
Commit 6fd3ff40 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: argument is incompatible with corresponding format string conversion

parent ab8d1464
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment