diff options
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, |