1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

replace INT2FIX to INT2NUM in CvSize

This commit is contained in:
ser1zw 2012-05-01 00:36:53 +09:00
parent 314519cc64
commit c1e7f3ce62

View file

@ -131,7 +131,7 @@ rb_initialize(int argc, VALUE *argv, VALUE self)
VALUE
rb_width(VALUE self)
{
return INT2FIX(CVSIZE(self)->width);
return INT2NUM(CVSIZE(self)->width);
}
/*
@ -154,7 +154,7 @@ rb_set_width(VALUE self, VALUE x)
VALUE
rb_height(VALUE self)
{
return INT2FIX(CVSIZE(self)->height);
return INT2NUM(CVSIZE(self)->height);
}
/*