From d947ada0a1ec824427dc8f0dd3e4211f99302a7c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 6 Apr 2010 09:02:40 +0200 Subject: re PR preprocessor/43642 (FAIL: c-c++-common/raw-string-1.c) PR preprocessor/43642 * lex.c (lex_raw_string): Change type of TYPE variable to unsigned char. From-SVN: r157979 --- libcpp/ChangeLog | 6 ++++++ libcpp/lex.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'libcpp') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index eec40c9..b55d255 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2010-04-06 Jakub Jelinek + + PR preprocessor/43642 + * lex.c (lex_raw_string): Change type of TYPE variable to + unsigned char. + 2010-04-02 Ralf Wildenhues * aclocal.m4: Regenerate. diff --git a/libcpp/lex.c b/libcpp/lex.c index 846671d..f299982 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -828,7 +828,7 @@ lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base, /* Don't warn about this trigraph in _cpp_process_line_notes, since trigraphs show up as trigraphs in raw strings. */ - unsigned type = note->type; + uchar type = note->type; note->type = 0; if (!CPP_OPTION (pfile, trigraphs)) -- cgit v1.1