Skip to content

Commit b92ead0

Browse files
committed
Fix URI parser warning.
1 parent ea2fc3b commit b92ead0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/URIParser.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ int URIParser::parse(const char *str, ParsedURI& uri)
376376

377377
for (int i = 0; i < URI_QUERY; i++)
378378
{
379-
for (int j = start_idx[i]; j < end_idx[i]; j++)
379+
for (size_t j = start_idx[i]; j < end_idx[i]; j++)
380380
{
381381
if (!valid_char[i][(unsigned char)str[j]])
382382
return -1;//invalid char

0 commit comments

Comments
 (0)