summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-13 20:52:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-13 20:52:48 (GMT)
commit69eafefa7681f398b727edb23c3e44a43c40de3c (patch)
treedc7133dc0cc04c964ccb13aaced1b77d74585728 /generic/tclIOUtil.c
parent2154b6c5ba00cfe39c12276f046c9411383abf78 (diff)
parent73e0989e22d41d6dd5e0122915888cd917acfa4a (diff)
downloadtcl-69eafefa7681f398b727edb23c3e44a43c40de3c.zip
tcl-69eafefa7681f398b727edb23c3e44a43c40de3c.tar.gz
tcl-69eafefa7681f398b727edb23c3e44a43c40de3c.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index f4e3bc4..7cbc2f9 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -275,8 +275,8 @@ Tcl_Stat(
Tcl_WideInt tmp1, tmp2, tmp3 = 0;
# define OUT_OF_RANGE(x) \
- (((Tcl_WideInt)(x)) < Tcl_LongAsWide(LONG_MIN) || \
- ((Tcl_WideInt)(x)) > Tcl_LongAsWide(LONG_MAX))
+ (((Tcl_WideInt)(x)) < LONG_MIN || \
+ ((Tcl_WideInt)(x)) > LONG_MAX)
# define OUT_OF_URANGE(x) \
(((Tcl_WideUInt)(x)) > ((Tcl_WideUInt)ULONG_MAX))