summaryrefslogtreecommitdiffstats
path: root/generic/tclScan.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-02-14 15:33:29 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-02-14 15:33:29 (GMT)
commitc64afc94f19ab3121ef1d91844dc902c721a5ff2 (patch)
tree96421f1b4bafd536de46eeb151857b905e2cc6ae /generic/tclScan.c
parent4f918b61b0cdd470824ce7a6198b89e8b6b90ca0 (diff)
parent55898c44b95ad321d7caa6b38bd94fb955c01d89 (diff)
downloadtcl-c64afc94f19ab3121ef1d91844dc902c721a5ff2.zip
tcl-c64afc94f19ab3121ef1d91844dc902c721a5ff2.tar.gz
tcl-c64afc94f19ab3121ef1d91844dc902c721a5ff2.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r--generic/tclScan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c
index 4d3afd0..25c6c2b 100644
--- a/generic/tclScan.c
+++ b/generic/tclScan.c
@@ -936,7 +936,7 @@ Tcl_ScanObjCmd(
(Tcl_WideUInt)wideValue);
Tcl_SetStringObj(objPtr, buf, -1);
} else {
- Tcl_SetWideIntObj(objPtr, wideValue);
+ TclSetIntObj(objPtr, wideValue);
}
} else if (flags & SCAN_BIG) {
if (flags & SCAN_UNSIGNED) {
@@ -961,7 +961,7 @@ Tcl_ScanObjCmd(
sprintf(buf, "%lu", value); /* INTL: ISO digit */
Tcl_SetStringObj(objPtr, buf, -1);
} else {
- Tcl_SetLongObj(objPtr, value);
+ TclSetIntObj(objPtr, value);
}
}
objs[objIndex++] = objPtr;