summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 3539945..e11527f 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -335,7 +335,7 @@ VarHashCreateVar(
#define OBJ_AT_DEPTH(n) *(tosPtr-(n))
-#define CURR_DEPTH (tosPtr - initTosPtr)
+#define CURR_DEPTH ((unsigned long) (tosPtr - initTosPtr))
/*
* Macros used to trace instruction execution. The macros TRACE,