diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-23 19:51:16 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-23 19:51:16 +0000 |
commit | 6430fa983f0a64d8f463b7c4e05e0d6351243f18 (patch) | |
tree | d2c6e3ce7ea2608f7eddd8203ce13e9b244ebb39 /gcc/cpplex.c | |
parent | 779f7a5c1248dc14f208609039caee708e586e96 (diff) | |
download | gcc-6430fa983f0a64d8f463b7c4e05e0d6351243f18.tar.gz |
* cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r-- | gcc/cpplex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 4427b3e3e1e..169730d53ae 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, |