1
0
Fork 0
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:
ser1zw 2011-01-02 05:57:46 +09:00
parent 7fc0732b7f
commit 817f57df86

View file

@ -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),