1
0
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:
Daniel Stenberg 2010-03-29 16:11:02 +02:00
parent 7e22d6332b
commit fd10ed56d5

View File

@ -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;