From c30cb73a5bc577f7ae6122137e4b8e99e6208231 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Mar 2004 12:56:18 +0000 Subject: fread() returns a size_t --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index c1c260281..419a79301 100644 --- a/src/main.c +++ b/src/main.c @@ -555,7 +555,7 @@ static char *file2memory(FILE *file, long *size) char buffer[1024]; char *string=NULL; char *newstring=NULL; - long len=0; + size_t len=0; long stringlen=0; if(file) { -- cgit v1.2.3