diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_operate.c | 2 | ||||
-rw-r--r-- | src/tool_urlglob.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index ef4f74a2b..bc36520d9 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1622,7 +1622,7 @@ static CURLcode operate_do(struct GlobalConfig *global, metalink_next_res = 1; fprintf(global->errors, "Metalink: fetching (%s) from (%s) FAILED " - "(HTTP status code %d)\n", + "(HTTP status code %ld)\n", mlfile->filename, this_url, response); } } 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; |