diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-07 15:22:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-07 15:22:25 (GMT) |
commit | 43fd6231753851e578bffc9ad6df133117802a36 (patch) | |
tree | 7de93e97f45d4246b54f4a2a09e7fcf3e2c3c86c /win/tkWinX.c | |
parent | 1453df7a69c6f0900422a24d1d6b4f66f4540907 (diff) | |
download | tk-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.c | 2 |
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)); |