Commit fe81e4c4 by Richard Kenner

(yylex): Cast string literal to U_CHAR* for lookup() call.

From-SVN: r13014
parent e1c84e1d
......@@ -738,7 +738,8 @@ yylex ()
{
int num_bits = num_chars * width;
if (lookup ("__CHAR_UNSIGNED__", sizeof ("__CHAR_UNSIGNED__")-1, -1)
if (lookup ((U_CHAR *) "__CHAR_UNSIGNED__",
sizeof ("__CHAR_UNSIGNED__") - 1, -1)
|| ((result >> (num_bits - 1)) & 1) == 0)
yylval.integer.value
= result & (~ (unsigned HOST_WIDE_INT) 0
......
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