summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-28 21:42:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-28 21:42:54 (GMT)
commit5248fb06510fd1e34b13f7c4a69404ab926cf2be (patch)
tree8d4da3eb53f714af307b5c5255794d95ba0dcdff /generic/tclUtf.c
parent94780336613da72b26e6572a616a2dfe9f087eca (diff)
downloadtcl-5248fb06510fd1e34b13f7c4a69404ab926cf2be.zip
tcl-5248fb06510fd1e34b13f7c4a69404ab926cf2be.tar.gz
tcl-5248fb06510fd1e34b13f7c4a69404ab926cf2be.tar.bz2
More API changes using size_t. Internal changes not complete yet (WIP)
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r--generic/tclUtf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index e9aab51..a3c60a4 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -1447,11 +1447,11 @@ Tcl_UniCharToTitle(
*----------------------------------------------------------------------
*/
-int
+size_t
Tcl_UniCharLen(
const Tcl_UniChar *uniStr) /* Unicode string to find length of. */
{
- int len = 0;
+ size_t len = 0;
while (*uniStr != '\0') {
len++;