projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7c5659
)
fread() returns a size_t
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 8 Mar 2004 12:56:18 +0000
(12:56 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 8 Mar 2004 12:56:18 +0000
(12:56 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
c1c2602
..
419a793
100644
(file)
--- 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) {