summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-02-12 13:45:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-02-12 13:45:52 (GMT)
commit186fd507fce8e72ceb25fa41cfe1c65429dd3398 (patch)
tree76d87a1336cc0ae03ff1717e7404dbbed46f098f /macosx/tkMacOSXWm.c
parentdf8fe8d77386421fadafe0b14472529c573a3f8b (diff)
parentf0588ea6f1632841dfe7ed350ea5c0e78331882d (diff)
downloadtk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.zip
tk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.tar.gz
tk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.tar.bz2
Silence some compiler warnings.
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 370c86a..73ab21c 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -1655,8 +1655,8 @@ WmForgetCmd(
if (Tk_IsTopLevel(frameWin)) {
MacDrawable *macWin;
- Tk_MakeWindowExist(winPtr);
- Tk_MakeWindowExist(winPtr->parentPtr);
+ Tk_MakeWindowExist(frameWin);
+ Tk_MakeWindowExist((Tk_Window)winPtr->parentPtr);
macWin = (MacDrawable *) winPtr->window;