diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-14 20:59:44 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-14 20:59:44 (GMT) |
| commit | 9e3724ae417191dfc027b285d015f7ca332c9204 (patch) | |
| tree | c136ecc7651b6ca69b07e692b242cd52f67184e3 /generic/regexec.c | |
| parent | 1eaffe477b0ae6538983f20134f28711e94ecdbd (diff) | |
| download | tcl-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.c | 2 |
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); |
