summaryrefslogtreecommitdiffstats
path: root/marshal.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-01 18:23:10 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-01 18:23:10 +0000
commita13ea5f81f90cf3a1c8e005eac3d3c265f8de9d7 (patch)
tree00253bb892e767220a94146a4ad75f29bc3130b0 /marshal.c
parenta634334e595aa4c6cad25d84a02d01f0951acadd (diff)
downloadruby-a13ea5f81f90cf3a1c8e005eac3d3c265f8de9d7.tar.gz
ruby-a13ea5f81f90cf3a1c8e005eac3d3c265f8de9d7.tar.xz
ruby-a13ea5f81f90cf3a1c8e005eac3d3c265f8de9d7.zip
* 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
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
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);
}