diff options
author | nijtmans <nijtmans> | 2008-12-17 16:47:38 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-12-17 16:47:38 (GMT) |
commit | dcb8ef7e626e6c7c77eab05df47cdbe283830627 (patch) | |
tree | ba50f40b968690dbb883c23d9fe46b3b2f9659e6 /generic/tclStringObj.c | |
parent | cd7b89f85d8670ed80d6f13e0482c6f56be9d5fb (diff) | |
download | tcl-dcb8ef7e626e6c7c77eab05df47cdbe283830627.zip tcl-dcb8ef7e626e6c7c77eab05df47cdbe283830627.tar.gz tcl-dcb8ef7e626e6c7c77eab05df47cdbe283830627.tar.bz2 |
move variable "length" inside if()
don't use ckfree((void *)...) but
ckfree((char *)...)
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r-- | generic/tclStringObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 1930ad0..abbd027 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -33,7 +33,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStringObj.c,v 1.75 2008/12/10 18:21:47 ferrieux Exp $ */ + * RCS: @(#) $Id: tclStringObj.c,v 1.76 2008/12/17 16:47:38 nijtmans Exp $ */ #include "tclInt.h" #include "tommath.h" @@ -1633,7 +1633,7 @@ Tcl_AppendStringsToObjVA( */ if (args != static_list) { - ckfree((void *) args); + ckfree((char *) args); } #undef STATIC_LIST_SIZE } |