aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-01-09 19:11:56 +0000
committerYang Tse <yangsita@gmail.com>2008-01-09 19:11:56 +0000
commit15f832d1c2c14327b971cacc200d48fce3077043 (patch)
tree8aa3e487fa4586c94dcc6ca1a85fedc6fa480b3c /src
parentc249a8aa1b3cdd4a706820092542bb6237596240 (diff)
fix compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1f978f6d6..c86bf2fe7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2138,7 +2138,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
}
else {
GetStr(&postdata, p);
- size = strlen(postdata);
+ size = (long)strlen(postdata);
}
if(!postdata) {