diff options
author | stanton <stanton> | 1998-11-18 03:34:49 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-11-18 03:34:49 (GMT) |
commit | 3a2bd5677129efab7771cdabea4575eb4f7e4f64 (patch) | |
tree | cfb324d959124647ccc53ecc531d0b1e227bed1f | |
parent | 77d75ab2fc29b4b5ee0d3c1919a9882e4d1b7734 (diff) | |
download | tcl-3a2bd5677129efab7771cdabea4575eb4f7e4f64.zip tcl-3a2bd5677129efab7771cdabea4575eb4f7e4f64.tar.gz tcl-3a2bd5677129efab7771cdabea4575eb4f7e4f64.tar.bz2 |
lint
-rw-r--r-- | generic/regcomp.c | 2 |
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; |