mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
typecast enum to int to make it printf() properly
This commit is contained in:
parent
ef783d8da7
commit
2b700fae9d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user