Prefer rb_funcall2() over rb_funcall().
[ruby-vorbistagger.git] / ext / ext.c
index 46ce0d178d1090296f6a74b16e29b205e692c706..957dc41260c77473fb548d18670f5388f1883890 100644 (file)
--- a/ext/ext.c
+++ b/ext/ext.c
@@ -192,7 +192,7 @@ c_write (VALUE self)
                        break;
        }
 
-       return rb_funcall (o->comments, id_length, 0);
+       return rb_funcall2 (o->comments, id_length, 0, NULL);
 }
 
 /*