From f6d288a39740136c59ee14937f994ca5e1555016 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 3 Feb 2010 06:44:18 +0000 Subject: Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3