diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-08 12:51:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-08 12:51:13 +0000 |
commit | 2b700fae9da302ff30e532420071f1cb0d85bee1 (patch) | |
tree | a8206f140c42ada7f4e3dbb01669defcd8ab3896 | |
parent | ef783d8da75cdf75e632ca24d9909f4aef1cdebf (diff) |
typecast enum to int to make it printf() properly
-rw-r--r-- | src/urlglob.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlglob.c b/src/urlglob.c index 7700b56d1..663af059e 100644 --- a/src/urlglob.c +++ b/src/urlglob.c @@ -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; } |