aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-29 21:32:53 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-29 21:32:53 +0200
commit19a22c41661c3b032c9cdcfd6913373526c025c8 (patch)
treec4a4748899ce3fd78949ad39e6e5a1261bea6569 /re.c
parentb85b04e80466b60892bb1533e33af267ecb1c2a6 (diff)
downloadegawk-19a22c41661c3b032c9cdcfd6913373526c025c8.tar.gz
egawk-19a22c41661c3b032c9cdcfd6913373526c025c8.tar.bz2
egawk-19a22c41661c3b032c9cdcfd6913373526c025c8.zip
Sync dfa with grep. Update configure machinery.
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 1144ec7f..9be46d96 100644
--- a/re.c
+++ b/re.c
@@ -268,7 +268,7 @@ research(Regexp *rp, char *str, int start,
*/
if (rp->dfa && ! no_bol && ! need_start) {
char save;
- int count = 0;
+ size_t count = 0;
/*
* dfa likes to stick a '\n' right after the matched
* text. So we just save and restore the character.