summaryrefslogtreecommitdiffstats
path: root/generic/tclStringRep.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-28 15:22:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-28 15:22:36 (GMT)
commit99a50b95e536053fe9adf6898ab92e00956e5744 (patch)
tree0a2d4a0427fdf6091be3d9a9996d0242c9bea6ab /generic/tclStringRep.h
parent85f253bc82209a22732ec5841e9655e7c4e70089 (diff)
downloadtcl-99a50b95e536053fe9adf6898ab92e00956e5744.zip
tcl-99a50b95e536053fe9adf6898ab92e00956e5744.tar.gz
tcl-99a50b95e536053fe9adf6898ab92e00956e5744.tar.bz2
Unicode rep en Tcl_Obj length: int -> size_t
Diffstat (limited to 'generic/tclStringRep.h')
-rw-r--r--generic/tclStringRep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclStringRep.h b/generic/tclStringRep.h
index db6f7e4..d71eefa 100644
--- a/generic/tclStringRep.h
+++ b/generic/tclStringRep.h
@@ -47,15 +47,15 @@
*/
typedef struct {
- int numChars; /* The number of chars in the string. -1 means
+ size_t numChars; /* The number of chars in the string. -1 means
* this value has not been calculated. >= 0
* means that there is a valid Unicode rep, or
* that the number of UTF bytes == the number
* of chars. */
- int allocated; /* The amount of space actually allocated for
+ size_t allocated; /* The amount of space actually allocated for
* the UTF string (minus 1 byte for the
* termination char). */
- int maxChars; /* Max number of chars that can fit in the
+ size_t maxChars; /* Max number of chars that can fit in the
* space allocated for the unicode array. */
int hasUnicode; /* Boolean determining whether the string has
* a Unicode representation. */