diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-01 18:23:10 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-01 18:23:10 +0000 |
commit | ccb61351eab257e9b31ae6c7718febb237027ee8 (patch) | |
tree | 00253bb892e767220a94146a4ad75f29bc3130b0 /marshal.c | |
parent | 9256f94d9a27c7a3adf9292b085141e32a4bc247 (diff) |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@16736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |