You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix optional/gc_specs.rb and use LL2NUM instead of LONG2NU
INT64_MAX might be long long int and there might be overflow with LONG2NU, e.g. in windows job:
```
gc_spec.c: In function 'Init_gc_spec':
gc_spec.c:108:58: warning: overflow in conversion from 'long long int' to 'long int' changes value from '9223372036854775807' to '-1' [-Woverflow]
108 | registered_before_rb_global_variable_bignum = LONG2NUM(INT64_MAX);
| ^~~~~~~~~
gc_spec.c:113:57: warning: overflow in conversion from 'long long int' to 'long int' changes value from '9223372036854775807' to '-1' [-Woverflow]
113 | registered_after_rb_global_variable_bignum = LONG2NUM(INT64_MAX);
| ^~~~~~~~~
```
0 commit comments