From 51787d1115298ac064597d657861ff3632f5eea0 Mon Sep 17 00:00:00 2001 From: culler Date: Mon, 13 Nov 2017 17:31:40 +0000 Subject: Add a cast to address a compiler warning. --- macosx/tkMacOSXSubwindows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c index dbf16b6..12beb1b 100644 --- a/macosx/tkMacOSXSubwindows.c +++ b/macosx/tkMacOSXSubwindows.c @@ -160,7 +160,7 @@ XMapWindow( * the window. */ TkWindow *contWinPtr = TkpGetOtherWindow(macWin->winPtr); - TkMacOSXInvalClipRgns(contWinPtr); + TkMacOSXInvalClipRgns((Tk_Window)contWinPtr); TkMacOSXInvalidateWindow(macWin, TK_PARENT_WINDOW); } TkMacOSXInvalClipRgns((Tk_Window) macWin->winPtr); -- cgit v0.12