summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-10 08:56:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-10 08:56:18 (GMT)
commit0e5885d7fab885a2ef6ee3d709a6745b0bf585fb (patch)
tree96c71f0a37885d5b8de3ae845b087ba300a2c9de /unix
parentc0cbf2de196d27643e7267a53c37d4bf4810ffef (diff)
downloadtk-0e5885d7fab885a2ef6ee3d709a6745b0bf585fb.zip
tk-0e5885d7fab885a2ef6ee3d709a6745b0bf585fb.tar.gz
tk-0e5885d7fab885a2ef6ee3d709a6745b0bf585fb.tar.bz2
More use of TCL_UNUSED() and C++-safe typecasts. Use Tk_Offset() in stead of sizeof() when using flexible arrays
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 00893f2..029f3aa 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -27,7 +27,7 @@ typedef struct ProtocolHandler {
/* Next in list of protocol handlers for the
* same top-level window, or NULL for end of
* list. */
- Tcl_Interp *interp; /* Interpreter in which to invoke command. */
+ Tcl_Interp *interp; /* Interpreter in which to invoke command. */
char command[1]; /* Tcl command to invoke when a client message
* for this protocol arrives. The actual size
* of the structure varies to accommodate the