summaryrefslogtreecommitdiff
path: root/ext/syck
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-15 07:56:21 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-15 07:56:21 +0000
commit9a3da66892722e4a0d0fafa79430c44e8dd174b6 (patch)
treed4dc8cfcae0568275464f867bf567d1553eb23c2 /ext/syck
parent5a38061f456fee1c29337a2077da270cb928b854 (diff)
* ext/syck/emitter.c (syck_emitter_start_obj): cast to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck')
-rw-r--r--ext/syck/emitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/emitter.c b/ext/syck/emitter.c
index 08c280f..1927b7e 100644
--- a/ext/syck/emitter.c
+++ b/ext/syck/emitter.c
@@ -290,7 +290,7 @@ syck_emitter_start_obj( SyckEmitter *e, SYMID oid )
*/
args->startpos = n->pos;
args->offset = alen + 1;
- st_foreach( e->anchors, syck_adjust_anchors, args );
+ st_foreach( e->anchors, syck_adjust_anchors, (st_data_t)args );
S_FREE( args );
/*