diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-27 13:18:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-27 13:18:51 (GMT) |
commit | 21c7efa254e5c4c6e5a552410771994a2c18197c (patch) | |
tree | 201f071a058e2d02e55528cb091ea8b7da41ea52 /unix | |
parent | 295b02cdfbc034362af781b66d116e86198e8dd7 (diff) | |
download | tk-21c7efa254e5c4c6e5a552410771994a2c18197c.zip tk-21c7efa254e5c4c6e5a552410771994a2c18197c.tar.gz tk-21c7efa254e5c4c6e5a552410771994a2c18197c.tar.bz2 |
Revise some (void *)/(char *) usage. Now on X11, everything compiles/runs with a C++ compiler.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixSysTray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixSysTray.c b/unix/tkUnixSysTray.c index b4914e5..4ee0ecd 100644 --- a/unix/tkUnixSysTray.c +++ b/unix/tkUnixSysTray.c @@ -1680,7 +1680,7 @@ handleErrors: /* Resources will be freed by DestroyNotify handler */ Tk_DestroyWindow(icon->tkwin); } - ckfree((char*)icon); + ckfree(icon); } return TCL_ERROR; } |