diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2017-02-19 14:10:54 +0100 |
---|---|---|
committer | Michael Kaufmann <mail@michael-kaufmann.ch> | 2017-02-19 14:13:42 +0100 |
commit | ddedc1b3f37354dc7748f47c094773fb0a716e18 (patch) | |
tree | 0d46d2b59f4865def9b04a2c50712e46fc8673d3 /src/tool_urlglob.c | |
parent | f45de0e87c55de992d7ff1fcc902c4809675ec63 (diff) | |
download | curl-ddedc1b3f37354dc7748f47c094773fb0a716e18.tar.gz |
string formatting: fix 4 printf-style format strings
Diffstat (limited to 'src/tool_urlglob.c')
-rw-r--r-- | src/tool_urlglob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c index 6d716599f..d002f276d 100644 --- a/src/tool_urlglob.c +++ b/src/tool_urlglob.c @@ -645,7 +645,7 @@ CURLcode glob_match_url(char **result, char *filename, URLGlob *glob) appendlen = 1; break; case UPTNumRange: - snprintf(numbuf, sizeof(numbuf), "%0*d", + snprintf(numbuf, sizeof(numbuf), "%0*lu", pat->content.NumRange.padlength, pat->content.NumRange.ptr_n); appendthis = numbuf; |