summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-09-13 08:14:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-09-13 08:14:03 (GMT)
commit2946fc51c092d08c68f0098963d9fe706b08ed94 (patch)
tree772ba6eb3705dc4fad6ed105a906e3a95987d432 /win/tkWinWm.c
parent2a4e805e5ff66ad774106894fb21e014a8124794 (diff)
downloadtk-2946fc51c092d08c68f0098963d9fe706b08ed94.zip
tk-2946fc51c092d08c68f0098963d9fe706b08ed94.tar.gz
tk-2946fc51c092d08c68f0098963d9fe706b08ed94.tar.bz2
[Bug 3567283]: Added missing cast.
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index efed842..e353813 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -5526,7 +5526,7 @@ WmTransientCmd(
}
if (objc == 3) {
if (masterPtr != NULL) {
- Tcl_SetObjResult(interp, TkNewWindowObj(masterPtr));
+ Tcl_SetObjResult(interp, TkNewWindowObj((Tk_Window) masterPtr));
}
return TCL_OK;
}