summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dfa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dfa.c b/src/dfa.c
index 47ec093e..7d97f30e 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -1569,10 +1569,10 @@ static void
epsclosure (position_set *s, struct dfa const *d)
{
int i, j;
- int *visited;
+ char *visited;
position p, old;
- CALLOC(visited, int, d->tindex);
+ CALLOC(visited, char, d->tindex);
for (i = 0; i < s->nelem; ++i)
if (d->tokens[s->elems[i].index] >= NOTCHAR