ruby-serialport
ruby-serialport copied to clipboard
Cast OBJSETUP argument to VALUE
This avoids an implicit conversion from struct RFile *
to VALUE
, which some compilers treat as an error.
Related to:
- https://fedoraproject.org/wiki/Changes/PortingToModernC
- https://fedoraproject.org/wiki/Toolchain/PortingToModernC
Please see https://github.com/hparra/ruby-serialport/discussions/77