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
This commit is contained in:
parent
43b1770ed6
commit
bee670e33a
@ -39,7 +39,7 @@ syck_hdlr_add_alias( SyckParser *p, char *a )
|
|||||||
{
|
{
|
||||||
SyckNode *n;
|
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;
|
return n;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user