summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-07 15:22:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-07 15:22:25 (GMT)
commit43fd6231753851e578bffc9ad6df133117802a36 (patch)
tree7de93e97f45d4246b54f4a2a09e7fcf3e2c3c86c /win/tkWinX.c
parent1453df7a69c6f0900422a24d1d6b4f66f4540907 (diff)
downloadtk-43fd6231753851e578bffc9ad6df133117802a36.zip
tk-43fd6231753851e578bffc9ad6df133117802a36.tar.gz
tk-43fd6231753851e578bffc9ad6df133117802a36.tar.bz2
Eliminate a bunch of unneeded type-casts, mainly (char *)
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index d9834e9..80407df 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -550,7 +550,7 @@ TkpOpenDisplay(
}
}
- display = XkbOpenDisplay((char *)display_name, NULL, NULL, NULL, NULL, NULL);
+ display = XkbOpenDisplay(display_name, NULL, NULL, NULL, NULL, NULL);
TkWinDisplayChanged(display);
tsdPtr->winDisplay =(TkDisplay *) ckalloc(sizeof(TkDisplay));