diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-27 03:43:34 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-27 03:43:34 +0000 |
commit | bbefdf88fdd9c0a2c36966960b360a5a7e9bf764 (patch) | |
tree | 85f35bfae6142033de28b15c9e80020283749770 /src | |
parent | 06c96d01d2c0b8e069bbf8efa0894a0c002e3553 (diff) |
fix compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
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* |