r41264 causes "implicit conversion loses integer precision" on clang
../trunk/bignum.c:1128:46: error: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32]
nlp_bits_ret = num_bdigits * BITSPERDIG - num_bits;
1 error generated.
make: ** [bignum.o] Error 1
Updated by akr (Akira Tanaka) almost 7 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r41267.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- bignum.c (integer_unpack_num_bdigits_small): Fix a comple error on clang -Werror,-Wshorten-64-to-32 Reported by Eric Hodel. [ruby-core:55467] [Bug #8522]