diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-02-01 14:30:07 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-02-01 14:30:07 (GMT) |
commit | b4d813ab192efd3bee584032ee4bd8b94b8d3925 (patch) | |
tree | 9d78414244a27069e5362313cf542baba8dfefb1 /generic/tkOldConfig.c | |
parent | 5501c43711b339823508af6b068f311d47ec62b3 (diff) | |
parent | fe0f0c305f4448a39308b969711b6f16a9de09ea (diff) | |
download | tk-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.c | 2 |
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); } |