mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
[ruby/yarp] Clang beats gcc in pedantry
Accidentally declared int32_t and not uint32_t and it was caught
on macos.
6581520793
This commit is contained in:
parent
1e0749e032
commit
7257145320
Notes:
git
2023-08-17 00:48:05 +00:00
1 changed files with 1 additions and 1 deletions
|
@ -12924,7 +12924,7 @@ yp_process_metadata(yp_parser_t *parser, const char *metadata) {
|
|||
yp_parser_scope_push(parser, scope_index == 0);
|
||||
|
||||
for (size_t variable_index = 0; variable_index < number_of_variables; variable_index++) {
|
||||
int32_t length = (uint32_t) *p;
|
||||
uint32_t length = (uint32_t) *p;
|
||||
p += 4;
|
||||
|
||||
yp_parser_local_add_location(parser, p, p + length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue