diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 15:03:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 15:03:51 +0000 |
commit | cea3919ae61ae16e04a5ee5c5394970c3960a0af (patch) | |
tree | 41c74b4c9bc624cc96691bf759a7d177f3345171 /marshal.c | |
parent | 150b4efa5510d77fdde7b9692b3c391fbde6ac19 (diff) | |
download | ruby-cea3919ae61ae16e04a5ee5c5394970c3960a0af.tar.gz |
* configure.in (RUBY_CHECK_PRINTF_PREFIX): check for printf format
specifier if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -419,7 +419,7 @@ w_symbol(ID id, struct dump_arg *arg) else { sym = rb_id2str(id); if (!sym) { - rb_raise(rb_eTypeError, "can't dump anonymous ID %ld", id); + rb_raise(rb_eTypeError, "can't dump anonymous ID %"PRIdVALUE, id); } encidx = rb_enc_get_index(sym); if (encidx == rb_usascii_encindex() || |