summaryrefslogtreecommitdiff
path: root/ext/syck/token.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-30 21:47:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-30 21:47:35 +0000
commitef84b7c67898646394e4cef8fd475cb652f2f0ca (patch)
tree50693a213c108b91ff05f8dcb9704d31ffd76955 /ext/syck/token.c
parent72969cd348ac6f00bbe71ad63120db0114b35367 (diff)
* ext/dl/cptr.c (rb_dlptr_new2): remove unused variable.
* ext/iconv/iconv.c (get_iconv_opt_i): ditto. * ext/syck/token.c (Plain): fix types on LP64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/token.c')
-rw-r--r--ext/syck/token.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/syck/token.c b/ext/syck/token.c
index bea79c158a7..0d0d4846bab 100644
--- a/ext/syck/token.c
+++ b/ext/syck/token.c
@@ -1489,8 +1489,8 @@ yy109:
Plain:
{
- int qidx = 0;
- int qcapa = 100;
+ ptrdiff_t qidx = 0;
+ ptrdiff_t qcapa = 100;
char *qstr = S_ALLOC_N( char, qcapa );
SyckLevel *plvl;
int parentIndent;