diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-16 08:30:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-16 08:30:40 (GMT) |
commit | 48507f96a5df51bf8c2c599ccb132ccb2ea2bf12 (patch) | |
tree | 06cbe7447f7d501ae5be7be896302ea60aa01a2f /win/tkWinDialog.c | |
parent | d315baab70f48cdc5618152774cecd5ac3b5fa50 (diff) | |
download | tk-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.c | 4 |
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); } |