summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-10-17 20:02:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-10-17 20:02:16 (GMT)
commitda461559312846043039c84d96a019da01f4dd06 (patch)
tree1a601db6a9ca3444d7418ec591f320756df6f58f /generic/tclStringObj.c
parent4252e1f99f58589cf3ab90f0d2fe8f83f48fd996 (diff)
parente154c5151281fbbe01ef1361f5f6980a5ec5a6d3 (diff)
downloadtcl-da461559312846043039c84d96a019da01f4dd06.zip
tcl-da461559312846043039c84d96a019da01f4dd06.tar.gz
tcl-da461559312846043039c84d96a019da01f4dd06.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index f238268..fa55bb0 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -2107,7 +2107,7 @@ Tcl_AppendFormatToObj(
if (TclGetWideBitsFromObj(interp, segment, &w) != TCL_OK) {
goto error;
} else {
- l = Tcl_WideAsLong(w);
+ l = (long) w;
}
if (useShort) {
s = (short) l;