summaryrefslogtreecommitdiffstats
path: root/generic/tkClipboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkClipboard.c')
-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;