summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2012-07-24 13:13:46 (GMT)
committerdgp <dgp@noemail.net>2012-07-24 13:13:46 (GMT)
commit1e681cb33473fecc8620daac51d3e837f5188dcb (patch)
tree1db8f6d76050669da5b5dfad9fb9537ebf5c65ab
parent94b98a04d664b5cea934bde313c194bd87c9e513 (diff)
parentf42f55dc76d5e4df8e9aa9ee83f70aad9b0ab510 (diff)
downloadtk-1e681cb33473fecc8620daac51d3e837f5188dcb.zip
tk-1e681cb33473fecc8620daac51d3e837f5188dcb.tar.gz
tk-1e681cb33473fecc8620daac51d3e837f5188dcb.tar.bz2
silence compiler warnings
FossilOrigin-Name: f7a4ff46eeaa2669baab17143127371ba161ef07
-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 3687033..043c167 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(dispPtr->clipWindow);
atts.override_redirect = True;
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index 37b1737..13f2f04 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -1349,7 +1349,7 @@ SendInit(
* for it.
*/
- dispPtr->commTkwin = TkAllocWindow(dispPtr,
+ dispPtr->commTkwin = (Tk_Window) TkAllocWindow(dispPtr,
DefaultScreen(dispPtr->display), NULL);
Tcl_Preserve(dispPtr->commTkwin);
atts.override_redirect = True;