summaryrefslogtreecommitdiffstats
path: root/generic/tclStringRep.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-11 12:56:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-11 12:56:29 (GMT)
commit524b1d9fb207987cf66ca92d5198e30e27e0931e (patch)
tree03481b58a31f0fcf82158c6c66891c88725e957f /generic/tclStringRep.h
parentf796d623675cfb8a59b1c190470f785c61b90a8e (diff)
parent7f62b768876fc8b0779d10ae3fcba1fc7aeaba04 (diff)
downloadtcl-524b1d9fb207987cf66ca92d5198e30e27e0931e.zip
tcl-524b1d9fb207987cf66ca92d5198e30e27e0931e.tar.gz
tcl-524b1d9fb207987cf66ca92d5198e30e27e0931e.tar.bz2
Merge 8.6. Remove tests/safe-stock86.test for win builds too (GIT, what are you doing ...!)
Diffstat (limited to 'generic/tclStringRep.h')
-rw-r--r--generic/tclStringRep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStringRep.h b/generic/tclStringRep.h
index 1ad78a1..e01ba2d 100644
--- a/generic/tclStringRep.h
+++ b/generic/tclStringRep.h
@@ -59,7 +59,7 @@ typedef struct {
* space allocated for the unicode array. */
int hasUnicode; /* Boolean determining whether the string has
* a Unicode representation. */
- Tcl_UniChar unicode[1]; /* The array of Unicode chars. The actual size
+ Tcl_UniChar unicode[TCLFLEXARRAY]; /* The array of Unicode chars. The actual size
* of this field depends on the 'maxChars'
* field above. */
} String;