fix compiler warning

This commit is contained in:
Yang Tse 2010-01-27 03:43:34 +00:00
parent 06c96d01d2
commit bbefdf88fd
3 changed files with 8 additions and 7 deletions

View file

@ -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*