summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index a4480a7..059b7a4 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -327,7 +327,7 @@ typedef unsigned TCL_WIDE_INT_TYPE Tcl_WideUInt;
# define TCL_SIZE_MODIFIER ""
#else
typedef ptrdiff_t Tcl_Size;
-# define TCL_SIZE_MAX ((ptrdiff_t)(((size_t)-1)>>1))
+# define TCL_SIZE_MAX ((Tcl_Size)(((size_t)-1)>>1))
# define TCL_SIZE_MODIFIER TCL_T_MODIFIER
#endif /* TCL_MAJOR_VERSION */