Skip to content

Commit

Permalink
[ruby/fiddle] Remove garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
kou authored and hsbt committed Nov 8, 2023
1 parent c19ea10 commit 9c2e0d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/fiddle/conversions.c
Expand Up @@ -200,7 +200,6 @@ rb_fiddle_int_to_ffi_type(int type)
return rb_ffi_type_of(char);
} else if (sizeof(bool) == sizeof(short)) {
return rb_ffi_type_of(short);
return INT2NUM(TYPE_USHORT);
} else if (sizeof(bool) == sizeof(int)) {
return rb_ffi_type_of(int);
} else if (sizeof(bool) == sizeof(long)) {
Expand Down

0 comments on commit 9c2e0d4

Please sign in to comment.