aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-08 12:51:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-08 12:51:13 +0000
commit2b700fae9da302ff30e532420071f1cb0d85bee1 (patch)
treea8206f140c42ada7f4e3dbb01669defcd8ab3896 /src
parentef783d8da75cdf75e632ca24d9909f4aef1cdebf (diff)
typecast enum to int to make it printf() properly
Diffstat (limited to 'src')
-rw-r--r--src/urlglob.c3
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;
}