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:
bcfc7d9
)
fix compiler warning
author
Yang Tse
<yangsita@gmail.com>
Thu, 17 Jan 2008 18:03:07 +0000
(18:03 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 17 Jan 2008 18:03:07 +0000
(18:03 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
b7e06e4
..
e7c14a2
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-2262,7
+2262,7
@@
static ParameterError getparameter(char *flag, /* f or -long-flag */
if(subletter == 'b') {
/* forced binary */
err = file2memory(&postdata, &size, file);
- config->postfieldsize = size;
+ config->postfieldsize =
(curl_off_t)
size;
}
else
err = file2string(&postdata, file);