summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index fbd3a76728..f2a2a88c72 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -185,7 +185,7 @@ enum vm_regan_acttype {
#define GET_GLOBAL_CONSTANT_STATE() (ruby_vm_global_constant_state)
#define INC_GLOBAL_CONSTANT_STATE() (++ruby_vm_global_constant_state)
-static VALUE make_no_method_exception(VALUE exc, const char *format,
+static VALUE make_no_method_exception(VALUE exc, VALUE format,
VALUE obj, int argc, const VALUE *argv);
static inline struct vm_throw_data *