From 4c735b57f7cea253db2c863b75dcce2462fa77db Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Fri, 11 May 2018 17:34:55 +0200 Subject: tool: Fix format specifiers --- src/tool_urlglob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tool_urlglob.c') 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); -- cgit v1.2.3