summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-12-17 16:47:38 (GMT)
committernijtmans <nijtmans@noemail.net>2008-12-17 16:47:38 (GMT)
commite70752dc2a0d82fe696f6fe593fbe423cd4e0d5e (patch)
treeba50f40b968690dbb883c23d9fe46b3b2f9659e6 /generic/tclZlib.c
parent314200b33056b8724502bac8407861d8bc89ce1b (diff)
downloadtcl-e70752dc2a0d82fe696f6fe593fbe423cd4e0d5e.zip
tcl-e70752dc2a0d82fe696f6fe593fbe423cd4e0d5e.tar.gz
tcl-e70752dc2a0d82fe696f6fe593fbe423cd4e0d5e.tar.bz2
move variable "length" inside if()
don't use ckfree((void *)...) but ckfree((char *)...) FossilOrigin-Name: 0a08bcb02de15a8c2f35c3659c98e4f85bfb621b
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index cca035f..6115f41 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclZlib.c,v 1.13 2008/12/17 14:33:33 dkf Exp $
+ * RCS: @(#) $Id: tclZlib.c,v 1.14 2008/12/17 16:47:38 nijtmans Exp $
*/
#include "tclInt.h"
@@ -718,7 +718,7 @@ ZlibStreamCleanup(
Tcl_DecrRefCount(zsh->currentInput);
}
- ckfree((void *) zsh);
+ ckfree((char *) zsh);
}
/*