summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-12-17 16:47:38 (GMT)
committernijtmans <nijtmans>2008-12-17 16:47:38 (GMT)
commit76c02e01f8ebe332dbe3b925b983c797865c3d26 (patch)
treeba50f40b968690dbb883c23d9fe46b3b2f9659e6 /generic/tclZlib.c
parentd30526a1bc5f2c71ab97a645c6dcc9e2991b79a1 (diff)
downloadtcl-76c02e01f8ebe332dbe3b925b983c797865c3d26.zip
tcl-76c02e01f8ebe332dbe3b925b983c797865c3d26.tar.gz
tcl-76c02e01f8ebe332dbe3b925b983c797865c3d26.tar.bz2
move variable "length" inside if()
don't use ckfree((void *)...) but ckfree((char *)...)
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);
}
/*