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

From-SVN: r61667
This commit is contained in:
Kaveh R. Ghazi 2003-01-23 19:51:16 +00:00 committed by Kaveh Ghazi
parent adbe6dfd38
commit fc69c47cad
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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,