fix questionable compare compiler error (unsigned can't be < 0)

darwin-pinnedpubkey
Marty Kuhrt 2005-12-30 00:20:46 +00:00
parent bdbf6e9d19
commit cc34342790
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ static CURLcode file_upload(struct connectdata *conn)
if(res)
break;
if (readcount <= 0)
if (readcount <= 0) /* fix questionable compare error. curlvms */
break;
nread = (size_t)readcount;