From a13ea5f81f90cf3a1c8e005eac3d3c265f8de9d7 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 1 Jun 2008 18:23:10 +0000 Subject: * rational.c (string_to_r_internal): use rb_isdigit. * marshal.c (long_toobig): use %zd. * ruby.c (set_arg0): move unused variable definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'marshal.c') diff --git a/marshal.c b/marshal.c index f78464d16..fda961fdf 100644 --- a/marshal.c +++ b/marshal.c @@ -937,7 +937,7 @@ r_byte(struct load_arg *arg) static void long_toobig(int size) { - rb_raise(rb_eTypeError, "long too big for this architecture (size %d, given %d)", + rb_raise(rb_eTypeError, "long too big for this architecture (size %zd, given %d)", sizeof(long), size); } -- cgit