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
1 changed files with 1 additions and 1 deletions

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;