mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
fixed the format of rb_raise() in rb_sub_rect() in cvmat.cpp
This commit is contained in:
parent
7fc0732b7f
commit
817f57df86
1 changed files with 1 additions and 1 deletions
|
@ -905,7 +905,7 @@ rb_sub_rect(VALUE self, VALUE args)
|
|||
area.height = NUM2INT(RARRAY_PTR(args)[3]);
|
||||
break;
|
||||
default:
|
||||
rb_raise(rb_eArgError, "wrong number of arguments (%d of 1 or 2 or 4)", RARRAY_LEN(args));
|
||||
rb_raise(rb_eArgError, "wrong number of arguments (%ld of 1 or 2 or 4)", RARRAY_LEN(args));
|
||||
}
|
||||
return DEPEND_OBJECT(rb_klass,
|
||||
cvGetSubRect(CVARR(self), CVALLOC(CvMat), area),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue