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 CvAvgComp

This commit is contained in:
ser1zw 2012-05-01 00:12:23 +09:00
parent ce0f55d038
commit e20f09a90b

View file

@ -60,7 +60,7 @@ rb_allocate(VALUE klass)
VALUE
rb_neighbors(VALUE self)
{
return INT2FIX(CVAVGCOMP(self)->neighbors);
return INT2NUM(CVAVGCOMP(self)->neighbors);
}
__NAMESPACE_END_AVGCOMP