diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-22 07:38:18 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-22 07:38:18 +0000 |
commit | adb1344562e3463839acd054f0b6866985143f57 (patch) | |
tree | c7f7288f0e3bd96a10db0af93e16191c41c39382 /gcc/cppexp.c | |
parent | 1986d3d9d93fb98909e2d7af2f7d8b3dabb989f0 (diff) | |
download | gcc-adb1344562e3463839acd054f0b6866985143f57.tar.gz |
* cppexp.c (parse_charconst): Change `mask' type to agree
with parse_escape.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r-- | gcc/cppexp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index e101592dd15..aaed026187a 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -1,5 +1,5 @@ /* Parse C expressions for cpplib. - Copyright (C) 1987, 1992, 1994, 1995, 1997, 1998, 1999, 2000 + Copyright (C) 1987, 1992, 1994, 1995, 1997, 1998, 1999, 2000, 2001 Free Software Foundation. Contributed by Per Bothner, 1994. @@ -248,7 +248,8 @@ parse_charconst (pfile, tok) HOST_WIDEST_INT result = 0; int num_chars = 0; int num_bits; - unsigned int width = MAX_CHAR_TYPE_SIZE, mask = MAX_CHAR_TYPE_MASK; + unsigned int width = MAX_CHAR_TYPE_SIZE; + HOST_WIDEST_INT mask = MAX_CHAR_TYPE_MASK; int max_chars; const U_CHAR *ptr = tok->val.str.text; const U_CHAR *end = ptr + tok->val.str.len; |