summaryrefslogtreecommitdiff
path: root/universal_parser.c
diff options
authorNobuyoshi Nakada <[email protected]>2024-11-10 21:57:56 +0900
committerNobuyoshi Nakada <[email protected]>2024-11-10 21:57:56 +0900
commit2f88a9258da4b9d8922c0892bff8f1015555be34 (patch)
treeec7efba3b1a3d28f618ed0ed3d8a6027bc14cf2b /universal_parser.c
parente8accdb22e1038d98bd88feab4fa3ccfab7de533 (diff)
Fix sign-conversion warnings on IL32 platforms
If `long` and `int` are the same size, `unsigned int` max would exceed `signed long` range. It is guaranteed by `RB_POSFIXABLE` that `v` can be casted to `long` safely here.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12045
Diffstat (limited to 'universal_parser.c')
0 files changed, 0 insertions, 0 deletions