diff options
| author | yui-knk <spiketeika@gmail.com> | 2023-06-17 19:32:38 +0900 |
|---|---|---|
| committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-06-17 22:02:13 +0900 |
| commit | d444f1b1fa69accf8723520195f431ed42dcceed (patch) | |
| tree | 1c97ff745db557a790f1cb4a2d7ce9368ba2f27c /parse.y | |
| parent | 19c62b400d3458c4525f174515bcb616af7dfdfe (diff) | |
Specify int bitfield as signed int bitfield
sunc treats int bitfield as unsigned int.
This commit will fix build failure on sunc.
* http://rubyci.s3.amazonaws.com/solaris10-sunc/ruby-master/log/20230617T100003Z.fail.html.gz
* http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20230617T090011Z.fail.html.gz
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7952
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -441,8 +441,8 @@ struct parser_params { rb_parser_config_t *config; #endif /* compile_option */ - int frozen_string_literal:2; /* -1: not specified, 0: false, 1: true */ - int coverage_enabled:2; /* -1: not specified, 0: false, 1: true */ + signed int frozen_string_literal:2; /* -1: not specified, 0: false, 1: true */ + signed int coverage_enabled:2; /* -1: not specified, 0: false, 1: true */ unsigned int command_start:1; unsigned int eofp: 1; |
