summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorculler <culler>2017-11-13 17:31:40 (GMT)
committerculler <culler>2017-11-13 17:31:40 (GMT)
commit51787d1115298ac064597d657861ff3632f5eea0 (patch)
tree4bd9cc51a92fe73bea1d388df40de9e8406ba976 /macosx
parent0667471fddba76f4d8266c0e35d3d4d53d955ea7 (diff)
downloadtk-51787d1115298ac064597d657861ff3632f5eea0.zip
tk-51787d1115298ac064597d657861ff3632f5eea0.tar.gz
tk-51787d1115298ac064597d657861ff3632f5eea0.tar.bz2
Add a cast to address a compiler warning.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXSubwindows.c2
1 files changed, 1 insertions, 1 deletions
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);