summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-06 07:02:40 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-06 07:02:40 +0000
commit56e2ce2d61c30c5e8c192ddf0df4506cf697f5f5 (patch)
treedc4f1888e210e5f5e139449a4fe37f8cea048374
parentad7af939311e5483aaa7f01a617069119b995cd2 (diff)
downloadppe42-gcc-56e2ce2d61c30c5e8c192ddf0df4506cf697f5f5.tar.gz
ppe42-gcc-56e2ce2d61c30c5e8c192ddf0df4506cf697f5f5.zip
PR preprocessor/43642
* lex.c (lex_raw_string): Change type of TYPE variable to unsigned char. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157979 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libcpp/ChangeLog6
-rw-r--r--libcpp/lex.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index eec40c96f82..b55d25576e7 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR preprocessor/43642
+ * lex.c (lex_raw_string): Change type of TYPE variable to
+ unsigned char.
+
2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* aclocal.m4: Regenerate.
diff --git a/libcpp/lex.c b/libcpp/lex.c
index 846671da460..f2999822534 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))
OpenPOWER on IntegriCloud