mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05: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*
|
||||
parse_filename(char *ptr, int len)
|
||||
parse_filename(char *ptr, size_t len)
|
||||
{
|
||||
char* copy;
|
||||
char* p;
|
||||
|
Loading…
Reference in New Issue
Block a user