Commit fc69c47c by Kaveh R. Ghazi Committed by Kaveh Ghazi

* cpplex.c (cpp_interpret_charconst): Squelch warning with cast.

From-SVN: r61667
parent adbe6dfd
2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
2003-01-23 Ulrich Weigand <uweigand@de.ibm.com>
* genattrtab.c (write_attr_get): Mark 'insn' paramter
......
......@@ -1937,7 +1937,7 @@ cpp_interpret_charconst (pfile, token, pchars_seen, unsignedp)
wchar_t wc;
int char_len;
char_len = local_mbtowc (&wc, str, limit - str);
char_len = local_mbtowc (&wc, (const char *)str, limit - str);
if (char_len == -1)
{
cpp_error (pfile, DL_WARNING,
......
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