From 5622724370381defbc456e36d2d5e6234cb964e8 Mon Sep 17 00:00:00 2001 From: dgp Date: Tue, 24 Jul 2012 13:13:08 +0000 Subject: silence compiler warnings --- generic/tkClipboard.c | 2 +- unix/tkUnixSend.c | 2 +- 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; -- cgit v0.12