summaryrefslogtreecommitdiffstats
path: root/generic/tkImage.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-14 15:03:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-14 15:03:26 (GMT)
commitd315baab70f48cdc5618152774cecd5ac3b5fa50 (patch)
treef16fd9a5c6af0e8ef08974d24917c4cf74c4e52b /generic/tkImage.c
parent535f5f5059e888e034ce33f8419a16b64da97e40 (diff)
downloadtk-d315baab70f48cdc5618152774cecd5ac3b5fa50.zip
tk-d315baab70f48cdc5618152774cecd5ac3b5fa50.tar.gz
tk-d315baab70f48cdc5618152774cecd5ac3b5fa50.tar.bz2
Tcl_Alloc -> ckalloc. Remove unnecessary type-casts.
Diffstat (limited to 'generic/tkImage.c')
-rw-r--r--generic/tkImage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImage.c b/generic/tkImage.c
index fc469d7..77b2c62 100644
--- a/generic/tkImage.c
+++ b/generic/tkImage.c
@@ -951,7 +951,7 @@ Tk_DeleteImage(
if (hPtr == NULL) {
return;
}
- DeleteImage(Tcl_GetHashValue(hPtr));
+ DeleteImage((char *)Tcl_GetHashValue(hPtr));
}
/*