aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-04-08 12:21:35 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-04-08 12:21:35 +0300
commitdb344a800133d00132fd85b546532affb4b3cf77 (patch)
treec94602c6383114c883e437aa48b31cd231f3234b /re.c
parent0714b773d7f4853fb2ba95a7b36d0230bad81dc9 (diff)
parentabde9f31440e862d4fd51605d8fade099b602cb5 (diff)
downloadegawk-db344a800133d00132fd85b546532affb4b3cf77.tar.gz
egawk-db344a800133d00132fd85b546532affb4b3cf77.tar.bz2
egawk-db344a800133d00132fd85b546532affb4b3cf77.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/re.c b/re.c
index 24522d72..9be46d96 100644
--- a/re.c
+++ b/re.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1991-2011 the Free Software Foundation, Inc.
+ * Copyright (C) 1991-2012 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -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.