widl: Cast-qual warning fix.
This commit is contained in:
parent
b5728948d5
commit
9c6c8b178a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue