Removed unnecessary range check.
@@ -473,7 +473,7 @@ static BOOL http_response_parse_header_field(HttpResponse* response, const char*
errno = 0;
val = _strtoui64(value, NULL, 0);
- if ((errno != 0) || (val < 0) || (val > INT32_MAX))
+ if ((errno != 0) || (val > INT32_MAX))
return FALSE;
response->ContentLength = val;
