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/tkImgPhoto.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/tkImgPhoto.c')
-rw-r--r-- | generic/tkImgPhoto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index ce160a4..4fcc3db 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -230,7 +230,7 @@ PhotoFormatThreadExitProc( while (tsdPtr->formatList != NULL) { freePtr = tsdPtr->formatList; tsdPtr->formatList = tsdPtr->formatList->nextPtr; - ckfree(freePtr->name); + ckfree((char *)freePtr->name); ckfree(freePtr); } } |