summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
diff options
context:
space:
mode:
authorstanton <stanton>1998-11-18 03:34:49 (GMT)
committerstanton <stanton>1998-11-18 03:34:49 (GMT)
commit3a2bd5677129efab7771cdabea4575eb4f7e4f64 (patch)
treecfb324d959124647ccc53ecc531d0b1e227bed1f /generic/regcomp.c
parent77d75ab2fc29b4b5ee0d3c1919a9882e4d1b7734 (diff)
downloadtcl-3a2bd5677129efab7771cdabea4575eb4f7e4f64.zip
tcl-3a2bd5677129efab7771cdabea4575eb4f7e4f64.tar.gz
tcl-3a2bd5677129efab7771cdabea4575eb4f7e4f64.tar.bz2
lint
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r--generic/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c
index 7a4ae34..a82eb96 100644
--- a/generic/regcomp.c
+++ b/generic/regcomp.c
@@ -421,7 +421,7 @@ int wanted; /* want enough room for this one */
memcpy(VS(p), VS(v->subs),
v->nsubs * sizeof(struct subre *));
} else
- p = REALLOC(v->subs, n * sizeof(struct subre *));
+ p = (struct subre**)REALLOC(v->subs, n*sizeof(struct subre *));
if (p == NULL) {
ERR(REG_ESPACE);
return;