1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

typecast enum to int to make it printf() properly

This commit is contained in:
Daniel Stenberg 2004-03-08 12:51:13 +00:00
parent ef783d8da7
commit 2b700fae9d

View File

@ -473,7 +473,8 @@ char *glob_match_url(char *filename, URLGlob *glob)
appendlen = (int)strlen(numbuf);
break;
default:
printf("internal error: invalid pattern type (%d)\n", pat.type);
printf("internal error: invalid pattern type (%d)\n",
(int)pat.type);
free(target);
return NULL;
}