summaryrefslogtreecommitdiffstats
path: root/generic/regexec.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-14 20:59:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-14 20:59:44 (GMT)
commit9e3724ae417191dfc027b285d015f7ca332c9204 (patch)
treec136ecc7651b6ca69b07e692b242cd52f67184e3 /generic/regexec.c
parent1eaffe477b0ae6538983f20134f28711e94ecdbd (diff)
downloadtcl-9e3724ae417191dfc027b285d015f7ca332c9204.zip
tcl-9e3724ae417191dfc027b285d015f7ca332c9204.tar.gz
tcl-9e3724ae417191dfc027b285d015f7ca332c9204.tar.bz2
Eliminate useless "const int" usage, where "const" has no meaning. VC-2015 has problem when the signatures don't match
Diffstat (limited to 'generic/regexec.c')
-rw-r--r--generic/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regexec.c b/generic/regexec.c
index c085ac6..510fb1d 100644
--- a/generic/regexec.c
+++ b/generic/regexec.c
@@ -145,7 +145,7 @@ static chr *shortest(struct vars *const, struct dfa *const, chr *const, chr *con
static chr *lastCold(struct vars *const, struct dfa *const);
static struct dfa *newDFA(struct vars *const, struct cnfa *const, struct colormap *const, struct smalldfa *);
static void freeDFA(struct dfa *const);
-static unsigned hash(unsigned *const, const int);
+static unsigned hash(unsigned *const, int);
static struct sset *initialize(struct vars *const, struct dfa *const, chr *const);
static struct sset *miss(struct vars *const, struct dfa *const, struct sset *const, const pcolor, chr *const, chr *const);
static int checkLAConstraint(struct vars *const, struct cnfa *const, chr *const, const pcolor);