summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-16 08:30:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-16 08:30:40 (GMT)
commit48507f96a5df51bf8c2c599ccb132ccb2ea2bf12 (patch)
tree06cbe7447f7d501ae5be7be896302ea60aa01a2f /win/tkWinDialog.c
parentd315baab70f48cdc5618152774cecd5ac3b5fa50 (diff)
downloadtk-48507f96a5df51bf8c2c599ccb132ccb2ea2bf12.zip
tk-48507f96a5df51bf8c2c599ccb132ccb2ea2bf12.tar.gz
tk-48507f96a5df51bf8c2c599ccb132ccb2ea2bf12.tar.bz2
Fix warning in tkEntry.c. More typecast cleanup
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 4aef6ce..1502720 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -2166,9 +2166,9 @@ static void FreeFilterVista(DWORD count, TCLCOMDLG_FILTERSPEC *dlgFilterPtr)
DWORD dw;
for (dw = 0; dw < count; ++dw) {
if (dlgFilterPtr[dw].pszName != NULL)
- ckfree(dlgFilterPtr[dw].pszName);
+ ckfree((char *)dlgFilterPtr[dw].pszName);
if (dlgFilterPtr[dw].pszSpec != NULL)
- ckfree(dlgFilterPtr[dw].pszSpec);
+ ckfree((char *)dlgFilterPtr[dw].pszSpec);
}
ckfree(dlgFilterPtr);
}