summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.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/tkImgPhoto.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/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c2
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);
}
}