diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-31 01:51:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-31 01:51:44 +0000 |
commit | 8a6c699282f975faff73d9e3bbf4d45af6fd8935 (patch) | |
tree | 2101ee04e0a98c149d8f683c1bb92cbc543072b3 /ext/syck/syck.c | |
parent | 368d9446213cdffd336c186a821f94ce49f725c1 (diff) |
* iseq.c (ruby_iseq_disasm_insn): suppress warnings on platforms which
int size differs from pointer size.
* ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): ditto
* ext/syck/rubyext.c (rb_syck_err_handler),
(syck_default_error_handler): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/syck.c')
-rw-r--r-- | ext/syck/syck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/syck.c b/ext/syck/syck.c index ccbce4822c..dbf753337e 100644 --- a/ext/syck/syck.c +++ b/ext/syck/syck.c @@ -499,7 +499,7 @@ syck_parse( SyckParser *p ) void syck_default_error_handler( SyckParser *p, const char *msg ) { - printf( "Error at [Line %d, Col %d]: %s\n", + printf( "Error at [Line %d, Col %"PRIdPTRDIFF"]: %s\n", p->linect, p->cursor - p->lineptr, msg ); |