summaryrefslogtreecommitdiff
path: root/lib/http_chunks.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-24 01:27:00 +0000
committerYang Tse <yangsita@gmail.com>2008-10-24 01:27:00 +0000
commit6ea91af2f8f787f16b1bde88ae2293adcc961986 (patch)
treeb7a84538b1b6217e877a01a2b41367d330d2e712 /lib/http_chunks.c
parentb7674403995be67dae5017b9dd573cc7b4e65825 (diff)
downloadcurl-6ea91af2f8f787f16b1bde88ae2293adcc961986.tar.gz
fix compiler warning
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r--lib/http_chunks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index e0887483a..630a5a265 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -85,9 +85,9 @@
We avoid the use of isxdigit to accommodate non-ASCII hosts. */
static bool Curl_isxdigit(char digit)
{
- return (digit >= 0x30 && digit <= 0x39) /* 0-9 */
- || (digit >= 0x41 && digit <= 0x46) /* A-F */
- || (digit >= 0x61 && digit <= 0x66); /* a-f */
+ return (bool)( (digit >= 0x30 && digit <= 0x39) /* 0-9 */
+ || (digit >= 0x41 && digit <= 0x46) /* A-F */
+ || (digit >= 0x61 && digit <= 0x66) ); /* a-f */
}
void Curl_httpchunk_init(struct connectdata *conn)