summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authordas <das>2006-04-22 04:12:02 (GMT)
committerdas <das>2006-04-22 04:12:02 (GMT)
commit5329eba53d54ca7a91405a2dd68d4cadc7c2c0dc (patch)
treeb746fc940e53e39db90a39b05efc227b66f96b8a /macosx/tkMacOSXWm.c
parent916cdd9441d3e7d714a15a68d1fa435976e38bfa (diff)
downloadtk-5329eba53d54ca7a91405a2dd68d4cadc7c2c0dc.zip
tk-5329eba53d54ca7a91405a2dd68d4cadc7c2c0dc.tar.gz
tk-5329eba53d54ca7a91405a2dd68d4cadc7c2c0dc.tar.bz2
fix 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 af16910..17d408c 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXWm.c,v 1.31 2006/04/18 23:15:11 vincentdarley Exp $
+ * RCS: @(#) $Id: tkMacOSXWm.c,v 1.32 2006/04/22 04:12:02 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -2933,7 +2933,7 @@ WmTransientCmd(tkwin, winPtr, interp, objc, objv)
return TCL_ERROR;
}
- if (master == winPtr) {
+ if ((TkWindow *) master == winPtr) {
Tcl_AppendResult(interp, "can't make \"", Tk_PathName(winPtr),
"\" its own master", NULL);
return TCL_ERROR;