summaryrefslogtreecommitdiffstats
path: root/generic/tclScan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-21 21:00:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-21 21:00:16 (GMT)
commit7398a025d45df93243a3f96d1fddf17a86acd707 (patch)
tree15b8daac781b0417ef5c29af9b38f16f12382b9d /generic/tclScan.c
parente5817145d28f886370ebdbf72b96ff6f2573dcad (diff)
parentd2c82fc45af53738344500a542ebe0333d5c89ac (diff)
downloadtcl-7398a025d45df93243a3f96d1fddf17a86acd707.zip
tcl-7398a025d45df93243a3f96d1fddf17a86acd707.tar.gz
tcl-7398a025d45df93243a3f96d1fddf17a86acd707.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r--generic/tclScan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c
index 5e2c75a..faafabd 100644
--- a/generic/tclScan.c
+++ b/generic/tclScan.c
@@ -932,8 +932,7 @@ Tcl_ScanObjCmd(
}
}
if ((flags & SCAN_UNSIGNED) && (wideValue < 0)) {
- sprintf(buf, "%" TCL_LL_MODIFIER "u",
- (Tcl_WideUInt)wideValue);
+ sprintf(buf, "%" TCL_LL_MODIFIER "u", wideValue);
Tcl_SetStringObj(objPtr, buf, -1);
} else {
TclSetIntObj(objPtr, wideValue);