summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unix/tclUnixInit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 6554a3f..b7df456 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclUnixInit.c,v 1.72 2007/11/09 21:35:19 msofer Exp $
+ * RCS: @(#) $Id: tclUnixInit.c,v 1.73 2007/11/09 23:04:07 msofer Exp $
*/
#include "tclInt.h"
@@ -1129,9 +1129,9 @@ TclpGetCStackParams(
}
if (stackGrowsDown) {
- *stackBoundPtr = tsdPtr->outerVarPtr - tsdPtr->stackSize;
+ *stackBoundPtr = (int *) ((char *)tsdPtr->outerVarPtr - tsdPtr->stackSize);
} else {
- *stackBoundPtr = tsdPtr->outerVarPtr + tsdPtr->stackSize;
+ *stackBoundPtr = (int *) ((char *)tsdPtr->outerVarPtr + tsdPtr->stackSize);
}
return stackGrowsDown;
#endif