Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data

This commit is contained in:
Yang Tse 2010-02-03 06:44:18 +00:00
parent 013ec6a92f
commit f6d288a397

View File

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