mirror of
https://github.com/curl/curl.git
synced 2026-04-15 03:21:41 +03:00
cast enum to int
This commit is contained in:
parent
39e3bd0e2b
commit
a5e3bb85ce
1 changed files with 2 additions and 2 deletions
|
|
@ -104,14 +104,14 @@ static CURLcode test_tool1623(const char *arg)
|
|||
ParameterError err = GetSizeParameter(check[i].input, &output);
|
||||
if(err != check[i].err)
|
||||
curl_mprintf("'%s' unexpectedly returned %d \n",
|
||||
check[i].input, err);
|
||||
check[i].input, (int)err);
|
||||
else if(check[i].amount != output)
|
||||
curl_mprintf("'%s' unexpectedly gave %" FMT_OFF_T "\n",
|
||||
check[i].input, output);
|
||||
else {
|
||||
#if 0 /* enable for debugging */
|
||||
if(err)
|
||||
curl_mprintf("'%s' returned %d\n", check[i].input, err);
|
||||
curl_mprintf("'%s' returned %d\n", check[i].input, (int)err);
|
||||
else
|
||||
curl_mprintf("'%s' == %" FMT_OFF_T "\n", check[i].input, output);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue