diff options
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index 877198cee1..900096629d 100644 --- a/vm_method.c +++ b/vm_method.c @@ -62,7 +62,7 @@ static struct { static void rb_class_clear_method_cache(VALUE klass, VALUE arg) { - VALUE old_serial = *(rb_serial_t *)arg; + rb_serial_t old_serial = *(rb_serial_t *)arg; if (RCLASS_SERIAL(klass) > old_serial) { return; } |