summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-07-24 13:13:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-07-24 13:13:08 (GMT)
commit5622724370381defbc456e36d2d5e6234cb964e8 (patch)
tree938bf8f1bc1849bcbec6c4d5374b7e33edf34bb0 /generic
parentc315d3e456e6fe5c0abc226702265e84c68dac35 (diff)
downloadtk-5622724370381defbc456e36d2d5e6234cb964e8.zip
tk-5622724370381defbc456e36d2d5e6234cb964e8.tar.gz
tk-5622724370381defbc456e36d2d5e6234cb964e8.tar.bz2
silence compiler warnings
Diffstat (limited to 'generic')
-rw-r--r--generic/tkClipboard.c2
1 files changed, 1 insertions, 1 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;