summaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2002-09-20 13:45:20 +0000
committerDJ Delorie <dj@delorie.com>2002-09-20 13:45:20 +0000
commit0a55e5ca18306227fa92b339308819fbbee369b4 (patch)
treedb075fdaae2b49d8920c0ccf72eb18290f649fff /libiberty/regex.c
parentf9bf43c87f91372b9354da04b2fe8d07f28ba21d (diff)
downloadgdb-0a55e5ca18306227fa92b339308819fbbee369b4.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 ())