Commit cc343427 authored by Marty Kuhrt's avatar Marty Kuhrt
Browse files

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

parent bdbf6e9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;