Skip to content

Commit

Permalink
this is to fix an error of gem installation error in Apple M3
Browse files Browse the repository at this point in the history
  • Loading branch information
yanan-xu committed Sep 5, 2024
1 parent 187336f commit cc2725b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/fast_xs/fast_xs.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static VALUE unpack_utf8(VALUE self)
return rb_funcall(self, unpack_id, 1, U_fmt);
}

static VALUE unpack_uchar(VALUE self)
static VALUE unpack_uchar(VALUE self, VALUE exc)
{
return rb_funcall(self, unpack_id, 1, C_fmt);
}
Expand Down
2 changes: 1 addition & 1 deletion ext/hpricot_scan/hpricot_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct hpricot_struct {
#define RSTRING_PTR(str) RSTRING(str)->ptr
#endif

VALUE hpricot_css(VALUE, VALUE, VALUE, VALUE, VALUE);
VALUE hpricot_css(VALUE, VALUE, VALUE, VALUE);

#define NO_WAY_SERIOUSLY "*** This should not happen, please file a bug report with the HTML you're parsing at http://github.com/hpricot/hpricot/issues. So sorry!"

Expand Down

0 comments on commit cc2725b

Please sign in to comment.