summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2008-12-10 04:13:01 (GMT)
committerdas <das>2008-12-10 04:13:01 (GMT)
commit4681d71cefe2f29d8ebf38878fbb5bdbd13d93b3 (patch)
tree0f93d06b312d7bfd37021d0f99d13d516bbade8f
parent26674990da2b0988439fdeaec362660d008807c7 (diff)
downloadtk-4681d71cefe2f29d8ebf38878fbb5bdbd13d93b3.zip
tk-4681d71cefe2f29d8ebf38878fbb5bdbd13d93b3.tar.gz
tk-4681d71cefe2f29d8ebf38878fbb5bdbd13d93b3.tar.bz2
fix warning
-rw-r--r--unix/tkUnixWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index f6a3f3d..d4a1a31 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.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: tkUnixWm.c,v 1.68 2008/12/09 23:21:48 dkf Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.69 2008/12/10 04:13:01 das Exp $
*/
#include "tkUnixInt.h"
@@ -3448,7 +3448,7 @@ WmTransientCmd(
}
if (objc == 3) {
if (masterPtr != NULL) {
- Tcl_SetObjResult(interp, TkNewWindowObj(masterPtr));
+ Tcl_SetObjResult(interp, TkNewWindowObj((Tk_Window) masterPtr));
}
return TCL_OK;
}