diff options
author | DJ Delorie <dj@delorie.com> | 2002-09-20 13:45:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2002-09-20 13:45:20 +0000 |
commit | 0a55e5ca18306227fa92b339308819fbbee369b4 (patch) | |
tree | db075fdaae2b49d8920c0ccf72eb18290f649fff /libiberty/regex.c | |
parent | f9bf43c87f91372b9354da04b2fe8d07f28ba21d (diff) | |
download | gdb-0a55e5ca18306227fa92b339308819fbbee369b4.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r-- | libiberty/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c index e2763dc2a51..f9d9a4e26dc 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -4648,7 +4648,7 @@ PREFIX(re_compile_fastmap) (bufp) while (1) { - if (p == pend || *p == succeed) + if (p == pend || *p == (UCHAR_T) succeed) { /* We have reached the (effective) end of pattern. */ if (!FAIL_STACK_EMPTY ()) |