summaryrefslogtreecommitdiffstats
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
parent2a4e805e5ff66ad774106894fb21e014a8124794 (diff)
downloadtk-2946fc51c092d08c68f0098963d9fe706b08ed94.zip
tk-2946fc51c092d08c68f0098963d9fe706b08ed94.tar.gz
tk-2946fc51c092d08c68f0098963d9fe706b08ed94.tar.bz2
[Bug 3567283]: Added missing cast.
-rw-r--r--ChangeLog4
-rw-r--r--win/tkWinWm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f25d61..cdc5ca4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-13 Donal K. Fellows <dkf@users.sf.net>
+
+ * win/tkWinWm.c (WmTransientCmd): [Bug 3567283]: Added missing cast.
+
2012-09-11 Donal K. Fellows <dkf@users.sf.net>
* generic/ttk/ttkEntry.c (EntryDisplay): [Bug 3566594]: Must manually
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;
}