diff options
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -941,8 +941,8 @@ r_byte(struct load_arg *arg) static void long_toobig(int size) { - rb_raise(rb_eTypeError, "long too big for this architecture (size %zd, given %d)", - sizeof(long), size); + rb_raise(rb_eTypeError, "long too big for this architecture (size " + STRINGIZE(SIZEOF_LONG)", given %d)", size); } #undef SIGN_EXTEND_CHAR |