aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-01-23 19:51:16 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-01-23 19:51:16 +0000
commitfc69c47cad76bc046b94c9cdc1cce1c57ded2960 (patch)
treed2c6e3ce7ea2608f7eddd8203ce13e9b244ebb39 /gcc/cpplex.c
parentadbe6dfd389998ee0ec17d71ecfddc708c1920ee (diff)
downloadgcc-fc69c47cad76bc046b94c9cdc1cce1c57ded2960.zip
gcc-fc69c47cad76bc046b94c9cdc1cce1c57ded2960.tar.gz
gcc-fc69c47cad76bc046b94c9cdc1cce1c57ded2960.tar.bz2
* cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
From-SVN: r61667
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 4427b3e..169730d 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -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,