From bbefdf88fdd9c0a2c36966960b360a5a7e9bf764 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 27 Jan 2010 03:43:34 +0000 Subject: fix compiler warning --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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* -- cgit v1.2.3