summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclTestObj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index 9081bcf..a235002 100644
--- a/generic/tclTestObj.c
+++ b/generic/tclTestObj.c
@@ -659,7 +659,9 @@ TestintobjCmd(
Tcl_Obj *const objv[]) /* Argument objects. */
{
size_t varIndex;
+#if (INT_MAX != LONG_MAX) /* int is not the same size as long */
int i;
+#endif
Tcl_WideInt wideValue;
const char *subCmd;
Tcl_Obj **varPtr;