Skip to content

Commit

Permalink
Update ext/fiddle/pointer.c
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <[email protected]>
  • Loading branch information
tenderlove and kou authored Mar 16, 2023
1 parent b4b1954 commit e66658c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/fiddle/pointer.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ rb_fiddle_ptr_read_mem(int argc, VALUE argv[], VALUE klass)
{
VALUE val, arg1;

switch (rb_scan_args(argc, argv, "11", &val, &arg1)) {
switch (rb_scan_args(argc, argv, "11", &val, &len)) {
case 1:
return rb_fiddle_ptr_s_to_ptr(klass, val);
break;
Expand Down

0 comments on commit e66658c

Please sign in to comment.