summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c
index 317e630f72a..43351b380de 100644
--- a/src/regex.c
+++ b/src/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. */