summaryrefslogtreecommitdiff
path: root/src/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp.h')
-rw-r--r--src/regexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp.h b/src/regexp.h
index 976927e04..84e8d19b9 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -101,7 +101,7 @@ typedef struct
#endif
int nsubexp; /* number of () */
int nstate;
- nfa_state_T state[0]; /* actually longer.. */
+ nfa_state_T state[1]; /* actually longer.. */
} nfa_regprog_T;
/*