Skip to content

Commit 6581520

Browse files
committed
Clang beats gcc in pedantry
Accidentally declared int32_t and not uint32_t and it was caught on macos.
1 parent 5411abd commit 6581520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yarp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12827,7 +12827,7 @@ yp_process_metadata(yp_parser_t *parser, const char *metadata) {
1282712827
yp_parser_scope_push(parser, scope_index == 0);
1282812828

1282912829
for (size_t variable_index = 0; variable_index < number_of_variables; variable_index++) {
12830-
int32_t length = (uint32_t) *p;
12830+
uint32_t length = (uint32_t) *p;
1283112831
p += 4;
1283212832

1283312833
yp_parser_local_add_location(parser, p, p + length);

0 commit comments

Comments
 (0)