aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-03 06:44:18 +0000
committerYang Tse <yangsita@gmail.com>2010-02-03 06:44:18 +0000
commitf6d288a39740136c59ee14937f994ca5e1555016 (patch)
tree4e1f9b1e8d61b9ec6ef163a1fcb6975a1ade12ee
parent013ec6a92f0d19a546afb10ffdf5b99fb38822de (diff)
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index b8a77fc3a..b8bb9d8cf 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -1970,7 +1970,7 @@ CURLcode Curl_perform(struct SessionHandle *data)
if(rc)
res = rc;
else
- retry = newurl?TRUE:FALSE;
+ retry = (bool)(newurl?TRUE:FALSE);
if(retry) {
res = CURLE_OK;