diff options
author | Yang Tse <yangsita@gmail.com> | 2010-02-02 16:23:01 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-02-02 16:23:01 +0000 |
commit | 839b61c32a23a6204e4283c7c9eda7dc920d89d0 (patch) | |
tree | dee282bca03ed82bdad3de66a8b3458d86aeca60 /lib | |
parent | d28b8d31582deb79f010b6645619398565a93117 (diff) |
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index 5d19b089b..02f84aa7d 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1201,7 +1201,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, disconnect_conn = TRUE; } else - retry = newurl?TRUE:FALSE; + retry = (bool)(newurl?TRUE:FALSE); Curl_posttransfer(easy->easy_handle); drc = Curl_done(&easy->easy_conn, easy->result, FALSE); @@ -1393,7 +1393,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, easy->result = Curl_retry_request(easy->easy_conn, &newurl); if(!easy->result) - retry = newurl?TRUE:FALSE; + retry = (bool)(newurl?TRUE:FALSE); /* call this even if the readwrite function returned error */ Curl_posttransfer(easy->easy_handle); |