Commit 9c6c8b17 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

widl: Cast-qual warning fix.

parent b5728948
...@@ -337,7 +337,7 @@ static int kw_token(const char *kw) ...@@ -337,7 +337,7 @@ static int kw_token(const char *kw)
} }
#endif #endif
if (kwp) { if (kwp) {
parser_lval.str = (char*)kwp->kw; parser_lval.str = xstrdup(kwp->kw);
return kwp->token; return kwp->token;
} }
parser_lval.str = xstrdup(kw); parser_lval.str = xstrdup(kw);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment