diff options
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -608,9 +608,9 @@ range_bsearch(VALUE range) smaller = cmp < 0; \ } \ else { \ - rb_raise(rb_eTypeError, "wrong argument type %s" \ - " (must be numeric, true, false or nil)", \ - rb_obj_classname(v)); \ + rb_raise(rb_eTypeError, "wrong argument type %"PRIsVALUE \ + " (must be numeric, true, false or nil)", \ + rb_obj_class(v)); \ } \ } while (0) |