summaryrefslogtreecommitdiff
path: root/src/tool_urlglob.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-05-11 17:34:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-14 09:42:27 +0200
commit4c735b57f7cea253db2c863b75dcce2462fa77db (patch)
tree9ee4204fe2415a473018fdf361fdb62c09cb5988 /src/tool_urlglob.c
parentb9446d18e78bec9f86c55746463036f97fcae886 (diff)
downloadcurl-4c735b57f7cea253db2c863b75dcce2462fa77db.tar.gz
tool: Fix format specifiers
Diffstat (limited to 'src/tool_urlglob.c')
-rw-r--r--src/tool_urlglob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index f78d058cd..6fae23620 100644
--- a/src/tool_urlglob.c
+++ b/src/tool_urlglob.c
@@ -579,7 +579,7 @@ CURLcode glob_next_url(char **globbed, URLGlob *glob)
}
break;
case UPTNumRange:
- snprintf(buf, buflen, "%0*ld",
+ snprintf(buf, buflen, "%0*lu",
pat->content.NumRange.padlength,
pat->content.NumRange.ptr_n);
len = strlen(buf);