mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue