summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2012-07-24 13:13:08 (GMT)
committerdgp <dgp@noemail.net>2012-07-24 13:13:08 (GMT)
commitf42f55dc76d5e4df8e9aa9ee83f70aad9b0ab510 (patch)
tree938bf8f1bc1849bcbec6c4d5374b7e33edf34bb0
parent7f0b0f7d4ba38a69be102e43cc1b506055318a75 (diff)
downloadtk-f42f55dc76d5e4df8e9aa9ee83f70aad9b0ab510.zip
tk-f42f55dc76d5e4df8e9aa9ee83f70aad9b0ab510.tar.gz
tk-f42f55dc76d5e4df8e9aa9ee83f70aad9b0ab510.tar.bz2
silence compiler warnings
FossilOrigin-Name: d2dde1c5f755555ce1850f8e981401846d6d6eb4
-rw-r--r--generic/tkClipboard.c2
-rw-r--r--unix/tkUnixSend.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkClipboard.c b/generic/tkClipboard.c
index 168171b..09e600a 100644
--- a/generic/tkClipboard.c
+++ b/generic/tkClipboard.c
@@ -645,7 +645,7 @@ TkClipInit(
* and set up an event handler for it.
*/
- dispPtr->clipWindow = TkAllocWindow(dispPtr,
+ dispPtr->clipWindow = (Tk_Window) TkAllocWindow(dispPtr,
DefaultScreen(dispPtr->display), NULL);
Tcl_Preserve((ClientData) dispPtr->clipWindow);
atts.override_redirect = True;
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index 493100e..f376d79 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -1350,7 +1350,7 @@ SendInit(
* for it.
*/
- dispPtr->commTkwin = TkAllocWindow(dispPtr,
+ dispPtr->commTkwin = (Tk_Window) TkAllocWindow(dispPtr,
DefaultScreen(dispPtr->display), NULL);
Tcl_Preserve((ClientData) dispPtr->commTkwin);
atts.override_redirect = True;