aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}