summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-11 08:56:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-11 08:56:31 (GMT)
commit4a8b7efd011cd0b919533728fcb8d6697bafd271 (patch)
tree10068d4fd2b33288abf2b3ea6339b4b86f25819b /unix
parent0d9815b244b0073e85619a33eeed5041def2dc5b (diff)
parentdb31b9f1cedb54fbdc52442ea1c21bf06c556b68 (diff)
downloadtk-4a8b7efd011cd0b919533728fcb8d6697bafd271.zip
tk-4a8b7efd011cd0b919533728fcb8d6697bafd271.tar.gz
tk-4a8b7efd011cd0b919533728fcb8d6697bafd271.tar.bz2
Merge 8.6
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 a32f897..06d908b 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -28,7 +28,7 @@ typedef struct ProtocolHandler {
* same top-level window, or NULL for end of
* list. */
Tcl_Interp *interp; /* Interpreter in which to invoke command. */
- char command[1]; /* Tcl command to invoke when a client message
+ char command[TKFLEXARRAY]; /* Tcl command to invoke when a client message
* for this protocol arrives. The actual size
* of the structure varies to accommodate the
* needs of the actual command. THIS MUST BE