mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
use size_t to hold string length
using int is not fine on 64bit systems
This commit is contained in:
parent
7e22d6332b
commit
fd10ed56d5
@ -4169,7 +4169,7 @@ static char *get_url_file_name(const char *url)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char*
|
static char*
|
||||||
parse_filename(char *ptr, int len)
|
parse_filename(char *ptr, size_t len)
|
||||||
{
|
{
|
||||||
char* copy;
|
char* copy;
|
||||||
char* p;
|
char* p;
|
||||||
|
Loading…
Reference in New Issue
Block a user