(regnum_t): Use signed int, not unsigned int.
authorRichard Stallman <rms@gnu.org>
Mon, 9 Sep 2002 19:41:30 +0000 (19:41 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 9 Sep 2002 19:41:30 +0000 (19:41 +0000)
regex.c

diff --git a/regex.c b/regex.c
index 317e630f72a4bff11dad8155b67fe6d5f7128ad8..43351b380de63a65d4f55bb7ca72524425d05093 100644 (file)
--- a/regex.c
+++ b/regex.c
@@ -1834,7 +1834,7 @@ static int analyse_first _RE_ARGS ((re_char *p, re_char *pend,
 
 /* But patterns can have more than `MAX_REGNUM' registers.  We just
    ignore the excess.  */
-typedef unsigned regnum_t;
+typedef int regnum_t;
 
 
 /* Macros for the compile stack.  */