summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-16 09:03:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-16 09:03:33 (GMT)
commit520853aabbe489eadcf8079f0ea0c3324104cbb4 (patch)
tree0480204dad9d47875fba51f00b8200e0c01afa4f /generic/tkImgPhoto.c
parent2892911efe9a8315d8df90a20083df8ed188e5a8 (diff)
parent2d5bd258efa4930673224605e1bd76b0badcef46 (diff)
downloadtk-520853aabbe489eadcf8079f0ea0c3324104cbb4.zip
tk-520853aabbe489eadcf8079f0ea0c3324104cbb4.tar.gz
tk-520853aabbe489eadcf8079f0ea0c3324104cbb4.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 4a7d4ed..88cee33 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -245,13 +245,13 @@ PhotoFormatThreadExitProc(
while (tsdPtr->formatList != NULL) {
freePtr = tsdPtr->formatList;
tsdPtr->formatList = tsdPtr->formatList->nextPtr;
- ckfree((char *)freePtr->name);
+ ckfree((void *)freePtr->name);
ckfree(freePtr);
}
while (tsdPtr->formatListVersion3 != NULL) {
freePtrVersion3 = tsdPtr->formatListVersion3;
tsdPtr->formatListVersion3 = tsdPtr->formatListVersion3->nextPtr;
- ckfree((char *)freePtrVersion3->name);
+ ckfree((void *)freePtrVersion3->name);
ckfree(freePtrVersion3);
}
}