summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfa.c b/src/dfa.c
index 591788cf..0a221f7f 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -3321,7 +3321,7 @@ dfaexec (struct dfa *d, char const *begin, char *end,
end - (char const *) mbp, d);
p = mbp;
- if ((char *) p >= end)
+ if ((char *) p > end)
{
p = NULL;
goto done;