summaryrefslogtreecommitdiffstats
path: root/generic/tkOldConfig.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/tkOldConfig.c
parent2892911efe9a8315d8df90a20083df8ed188e5a8 (diff)
parent2d5bd258efa4930673224605e1bd76b0badcef46 (diff)
downloadtk-520853aabbe489eadcf8079f0ea0c3324104cbb4.zip
tk-520853aabbe489eadcf8079f0ea0c3324104cbb4.tar.gz
tk-520853aabbe489eadcf8079f0ea0c3324104cbb4.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tkOldConfig.c')
-rw-r--r--generic/tkOldConfig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c
index 63012db..b2bc5a0 100644
--- a/generic/tkOldConfig.c
+++ b/generic/tkOldConfig.c
@@ -719,9 +719,9 @@ FormatConfigInfo(
result = Tcl_Merge(5, argv);
if (freeProc != NULL) {
if (freeProc == TCL_DYNAMIC) {
- ckfree((char *) argv[4]);
+ ckfree((void *)argv[4]);
} else {
- freeProc((char *) argv[4]);
+ freeProc((void *)argv[4]);
}
}
return result;
@@ -942,9 +942,9 @@ Tk_ConfigureValue(
Tcl_SetObjResult(interp, Tcl_NewStringObj(result, TCL_INDEX_NONE));
if (freeProc != NULL) {
if (freeProc == TCL_DYNAMIC) {
- ckfree((char *)result);
+ ckfree((void *)result);
} else {
- freeProc((char *)result);
+ freeProc((void *)result);
}
}
return TCL_OK;