mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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);
|
appendlen = (int)strlen(numbuf);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("internal error: invalid pattern type (%d)\n", pat.type);
|
printf("internal error: invalid pattern type (%d)\n",
|
||||||
|
(int)pat.type);
|
||||||
free(target);
|
free(target);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user