summaryrefslogtreecommitdiffstats
path: root/ext/syck/emitter.c
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
commitd836f432f47c38b0512eae2faf4cd03b30304785 (patch)
treed4dc8cfcae0568275464f867bf567d1553eb23c2 /ext/syck/emitter.c
parentaab34ae1ab3815648d42655d01c8bc2555470762 (diff)
downloadruby-d836f432f47c38b0512eae2faf4cd03b30304785.tar.gz
ruby-d836f432f47c38b0512eae2faf4cd03b30304785.tar.xz
ruby-d836f432f47c38b0512eae2faf4cd03b30304785.zip
* ext/syck/emitter.c (syck_emitter_start_obj): cast to avoid warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/emitter.c')
-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 08c280fea..1927b7e1e 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 );
/*