We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a05fb commit bbcb66eCopy full SHA for bbcb66e
1 file changed
ext/fiddle/conversions.c
@@ -200,7 +200,6 @@ rb_fiddle_int_to_ffi_type(int type)
200
return rb_ffi_type_of(char);
201
} else if (sizeof(bool) == sizeof(short)) {
202
return rb_ffi_type_of(short);
203
- return INT2NUM(TYPE_USHORT);
204
} else if (sizeof(bool) == sizeof(int)) {
205
return rb_ffi_type_of(int);
206
} else if (sizeof(bool) == sizeof(long)) {
0 commit comments