summaryrefslogtreecommitdiff
path: root/ext/syck
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-13 16:25:41 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-13 16:25:41 +0000
commitbee670e33a3b42cd6783ef40e7a6e3ee2cd41c6b (patch)
tree58039a297aa830ef3394df2229bb247ed093503d /ext/syck
parent43b1770ed6debca4a3f037b787497e82241b493d (diff)
ext/syck/handler.c (syck_hdlr_add_alias): add cast to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck')
-rw-r--r--ext/syck/handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/handler.c b/ext/syck/handler.c
index 7b7b4c7..0a03596 100644
--- a/ext/syck/handler.c
+++ b/ext/syck/handler.c
@@ -39,7 +39,7 @@ syck_hdlr_add_alias( SyckParser *p, char *a )
{
SyckNode *n;
- if ( st_lookup( p->anchors, (st_data_t)a, &n ) )
+ if ( st_lookup( p->anchors, (st_data_t)a, (st_data_t *)&n ) )
{
return n;
}