aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-27 03:43:34 +0000
committerYang Tse <yangsita@gmail.com>2010-01-27 03:43:34 +0000
commitbbefdf88fdd9c0a2c36966960b360a5a7e9bf764 (patch)
tree85f35bfae6142033de28b15c9e80020283749770 /src
parent06c96d01d2c0b8e069bbf8efa0894a0c002e3553 (diff)
fix compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 381f81097..3c6714ba6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -4073,7 +4073,8 @@ static void dumpeasycode(struct Configurable *config)
static bool stdin_upload(const char *uploadfile)
{
- return curlx_strequal(uploadfile, "-") || curlx_strequal(uploadfile, ".");
+ return (bool)(curlx_strequal(uploadfile, "-") ||
+ curlx_strequal(uploadfile, "."));
}
static char*