summaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-09-20 13:45:20 +0000
committerDJ Delorie <dj@redhat.com>2002-09-20 13:45:20 +0000
commit585cc78f65f55dd5834911fbbe21b654c52f7bee (patch)
treea43a631b29706b85c9ab12c6c91181d2e7e07671 /libiberty/regex.c
parent6d305052679525c19163606e9968d8c67b2ca4f2 (diff)
downloadbinutils-gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c2
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 ())