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:
parent
ce0f55d038
commit
e20f09a90b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ rb_allocate(VALUE klass)
|
||||||
VALUE
|
VALUE
|
||||||
rb_neighbors(VALUE self)
|
rb_neighbors(VALUE self)
|
||||||
{
|
{
|
||||||
return INT2FIX(CVAVGCOMP(self)->neighbors);
|
return INT2NUM(CVAVGCOMP(self)->neighbors);
|
||||||
}
|
}
|
||||||
|
|
||||||
__NAMESPACE_END_AVGCOMP
|
__NAMESPACE_END_AVGCOMP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue