Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Nov 12, 2024
1 parent 0fe33cb commit 7bd785a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urlparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static int urlparse_parser_eof(urlparse_parser *up) {
static void urlparse_url_set_field_data(urlparse_url *dest, int field,
const char *data, const char *start,
const char *end) {
dest->field_set |= 1 << field;
dest->field_set |= (uint16_t)(1 << field);
dest->field_data[field].off = (uint16_t)(start - data);
dest->field_data[field].len = (uint16_t)(end - start);
}
Expand Down

0 comments on commit 7bd785a

Please sign in to comment.