summaryrefslogtreecommitdiffstats
path: root/generic/tkOldConfig.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-02-01 14:30:07 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-02-01 14:30:07 (GMT)
commitb4d813ab192efd3bee584032ee4bd8b94b8d3925 (patch)
tree9d78414244a27069e5362313cf542baba8dfefb1 /generic/tkOldConfig.c
parent5501c43711b339823508af6b068f311d47ec62b3 (diff)
parentfe0f0c305f4448a39308b969711b6f16a9de09ea (diff)
downloadtk-b4d813ab192efd3bee584032ee4bd8b94b8d3925.zip
tk-b4d813ab192efd3bee584032ee4bd8b94b8d3925.tar.gz
tk-b4d813ab192efd3bee584032ee4bd8b94b8d3925.tar.bz2
Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr everywhere.
Change some internal "length" variables from type int to type size_t, so it could handle bigger string sizes (for "novem")
Diffstat (limited to 'generic/tkOldConfig.c')
-rw-r--r--generic/tkOldConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c
index f9a69de..a77edce 100644
--- a/generic/tkOldConfig.c
+++ b/generic/tkOldConfig.c
@@ -939,7 +939,7 @@ Tk_ConfigureValue(
Tcl_SetObjResult(interp, Tcl_NewStringObj(result, -1));
if (freeProc != NULL) {
if ((freeProc == TCL_DYNAMIC) || (freeProc == (Tcl_FreeProc *) free)) {
- ckfree(result);
+ ckfree((char *) result);
} else {
freeProc((char *) result);
}