diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-29 13:14:38 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-29 13:14:38 (GMT) |
commit | d97d4ac534c4858f49230be22cdb9cb429b939fa (patch) | |
tree | 79c3fc5c63f2e54f95bd80ac9102c00775b7a81a /generic/tclBinary.c | |
parent | 4f1a584c9cab2b4579a23077b1f9fda6834ab54c (diff) | |
parent | 6e4592be32b35bcfdf27068df712332db8626f9c (diff) | |
download | tcl-d97d4ac534c4858f49230be22cdb9cb429b939fa.zip tcl-d97d4ac534c4858f49230be22cdb9cb429b939fa.tar.gz tcl-d97d4ac534c4858f49230be22cdb9cb429b939fa.tar.bz2 |
merge core-8-6-branch
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r-- | generic/tclBinary.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index 72f1498..5772bc6 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -551,7 +551,7 @@ SetByteArrayFromAny( byteArrayPtr = ckalloc(BYTEARRAY_SIZE(length)); for (dst = byteArrayPtr->bytes; src < srcEnd; ) { - src += Tcl_UtfToUniChar(src, &ch); + src += TclUtfToUniChar(src, &ch); improper = improper || (ch > 255); *dst++ = UCHAR(ch); } @@ -1303,7 +1303,7 @@ BinaryFormatCmd( Tcl_UniChar ch; char buf[TCL_UTF_MAX + 1]; - Tcl_UtfToUniChar(errorString, &ch); + TclUtfToUniChar(errorString, &ch); buf[Tcl_UniCharToUtf(ch, buf)] = '\0'; Tcl_SetObjResult(interp, Tcl_ObjPrintf( "bad field specifier \"%s\"", buf)); @@ -1673,7 +1673,7 @@ BinaryScanCmd( Tcl_UniChar ch; char buf[TCL_UTF_MAX + 1]; - Tcl_UtfToUniChar(errorString, &ch); + TclUtfToUniChar(errorString, &ch); buf[Tcl_UniCharToUtf(ch, buf)] = '\0'; Tcl_SetObjResult(interp, Tcl_ObjPrintf( "bad field specifier \"%s\"", buf)); |