mirror of
https://github.com/curl/curl.git
synced 2026-07-23 23:47:15 +03:00
tool_urlglob: use the correct format specifier for curl_off_t in msnprintf
Closes #11698
This commit is contained in:
parent
73b6d4e814
commit
20e3287aca
1 changed files with 2 additions and 2 deletions
|
|
@ -591,7 +591,7 @@ CURLcode glob_next_url(char **globbed, struct URLGlob *glob)
|
|||
}
|
||||
break;
|
||||
case UPTNumRange:
|
||||
msnprintf(buf, buflen, "%0*lu",
|
||||
msnprintf(buf, buflen, "%0*" CURL_FORMAT_CURL_OFF_T,
|
||||
pat->content.NumRange.padlength,
|
||||
pat->content.NumRange.ptr_n);
|
||||
len = strlen(buf);
|
||||
|
|
@ -661,7 +661,7 @@ CURLcode glob_match_url(char **result, char *filename, struct URLGlob *glob)
|
|||
appendlen = 1;
|
||||
break;
|
||||
case UPTNumRange:
|
||||
msnprintf(numbuf, sizeof(numbuf), "%0*lu",
|
||||
msnprintf(numbuf, sizeof(numbuf), "%0*" CURL_FORMAT_CURL_OFF_T,
|
||||
pat->content.NumRange.padlength,
|
||||
pat->content.NumRange.ptr_n);
|
||||
appendthis = numbuf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue