diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-19 22:11:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-19 22:11:01 (GMT) |
commit | 588a92ec6b144cf320d0ba358f7ec078f16316ac (patch) | |
tree | d051414231041b44372910a4e781f3f1f94966a8 /generic/tclUtil.c | |
parent | a0f11eae42f9260f584f97332464ac95c9713062 (diff) | |
parent | 6fa04d74e058900e8929c9cbb45c994145691d6b (diff) | |
download | tcl-588a92ec6b144cf320d0ba358f7ec078f16316ac.zip tcl-588a92ec6b144cf320d0ba358f7ec078f16316ac.tar.gz tcl-588a92ec6b144cf320d0ba358f7ec078f16316ac.tar.bz2 |
Merge 8.5
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index a0f1fa0..96798bc 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -3616,7 +3616,7 @@ TclFormatInt( * Generate the characters of the result backwards in the buffer. */ - intVal = (n < 0 ? -n : n); + intVal = (n < 0 ? -(unsigned long)n : (unsigned long)n); i = 0; buffer[0] = '\0'; do { |