summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authormig <mig>2011-04-07 00:11:48 (GMT)
committermig <mig>2011-04-07 00:11:48 (GMT)
commit37684dd968c4300c5b34816c65e2b9b551842fe6 (patch)
tree9a6e8f3951d42b4755317063a93c5a0a228369aa /generic/tclExecute.c
parent90b847d5ece274f9530fc51ffe85bc14531d67b6 (diff)
downloadtcl-37684dd968c4300c5b34816c65e2b9b551842fe6.zip
tcl-37684dd968c4300c5b34816c65e2b9b551842fe6.tar.gz
tcl-37684dd968c4300c5b34816c65e2b9b551842fe6.tar.bz2
last bugfix was incomplete
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,