diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-10 21:57:56 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-10 21:57:56 +0900 |
| commit | 2f88a9258da4b9d8922c0892bff8f1015555be34 (patch) | |
| tree | ec7efba3b1a3d28f618ed0ed3d8a6027bc14cf2b /include/ruby/thread.h | |
| parent | e8accdb22e1038d98bd88feab4fa3ccfab7de533 (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 'include/ruby/thread.h')
0 files changed, 0 insertions, 0 deletions
