summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-07-13 15:06:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-07-13 15:06:07 (GMT)
commite04398953ff1c2dc018c8e9183d9af690eb7a3bc (patch)
treeea007aebaa431803c6305e66a1e28eae08711863 /generic
parentdaaac6f4c23110b1489e943f514c4b8befc14b2d (diff)
parentba36e5644b01038e11624290850803281b18ece1 (diff)
downloadtcl-e04398953ff1c2dc018c8e9183d9af690eb7a3bc.zip
tcl-e04398953ff1c2dc018c8e9183d9af690eb7a3bc.tar.gz
tcl-e04398953ff1c2dc018c8e9183d9af690eb7a3bc.tar.bz2
Fix [293344d4f3]: Regression in SQLite test-suite. Long-standing bug in implementation of TclUtfToUniChar() macro.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index ed867d8..2f830cc 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4359,7 +4359,7 @@ MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr, const char *file,
#define TclUtfToUniChar(str, chPtr) \
((((unsigned char) *(str)) < 0xC0) ? \
- ((*(chPtr) = (Tcl_UniChar) *(str)), 1) \
+ ((*(chPtr) = (unsigned char) *(str)), 1) \
: Tcl_UtfToUniChar(str, chPtr))
/*