From: Yang Tse Date: Wed, 3 Feb 2010 06:44:18 +0000 (+0000) Subject: Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible... X-Git-Tag: curl-7_20_0~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6d288a39740136c59ee14937f994ca5e1555016;p=curl Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data --- 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;