summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-09-01 19:40:21 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-09-01 19:40:21 (GMT)
commite40f7fb58ec75a963d483f76cedd2ce59e5e2845 (patch)
tree04ebe51df33cc5a3839047be40ebf9d7d0802c0f
parent68904d092e3c143f9fea26a59781dca0baabad9c (diff)
downloadtk-e40f7fb58ec75a963d483f76cedd2ce59e5e2845.zip
tk-e40f7fb58ec75a963d483f76cedd2ce59e5e2845.tar.gz
tk-e40f7fb58ec75a963d483f76cedd2ce59e5e2845.tar.bz2
Remove a couple of superfluous casts.
-rw-r--r--macosx/tkMacOSXSubwindows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 375aefd..f782d82 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -1172,7 +1172,7 @@ void *
Tk_MacOSXGetNSViewForDrawable(
Drawable drawable)
{
- return (void *) TkMacOSXGetNSViewForDrawable(drawable);
+ return TkMacOSXGetNSViewForDrawable(drawable);
}
/*
@@ -1183,7 +1183,7 @@ void *
TkMacOSXGetRootControl(
Drawable drawable)
{
- return (void *) TkMacOSXGetNSViewForDrawable(drawable);
+ return TkMacOSXGetNSViewForDrawable(drawable);
}