summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-07-04 20:36:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-07-04 20:36:47 (GMT)
commit9f1eab15da8fe559d9e6448f80063185649108c7 (patch)
treebceb1debcf370761d6412bd28ff0a4ef13c81870 /macosx/tkMacOSXSubwindows.c
parent0d691b8a32629beadc13ba23ce0b64185642bade (diff)
downloadtk-9f1eab15da8fe559d9e6448f80063185649108c7.zip
tk-9f1eab15da8fe559d9e6448f80063185649108c7.tar.gz
tk-9f1eab15da8fe559d9e6448f80063185649108c7.tar.bz2
Fix 2 (minor) compiler warnings
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r--macosx/tkMacOSXSubwindows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 0d71236..1d4ffec 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -72,7 +72,7 @@ XDestroyWindow(
if (!Tk_IsTopLevel(macWin->winPtr)) {
if (macWin->winPtr->parentPtr != NULL) {
- TkMacOSXInvalClipRgns(macWin->winPtr->parentPtr);
+ TkMacOSXInvalClipRgns((Tk_Window)macWin->winPtr->parentPtr);
Tcl_CancelIdleCall(TkMacOSXRedrawViewIdleTask, (void *) view);
Tcl_DoWhenIdle(TkMacOSXRedrawViewIdleTask, (void *) view);
}