1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

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

This commit is contained in:
Marty Kuhrt 2005-12-30 00:20:46 +00:00
parent bdbf6e9d19
commit cc34342790

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;