]>
Commit | Line | Data |
---|---|---|
1b71bf2a AM |
1 | --- tcl/unix/tclUnixInit.c 2006/09/10 17:04:07 1.67 |
2 | +++ tcl/unix/tclUnixInit.c 2007/02/08 23:11:21 1.68 | |
3 | @@ -1030,7 +1030,7 @@ | |
4 | /* Most variables are actually in a | |
5 | * thread-specific data block to minimise the | |
6 | * impact on the stack. */ | |
7 | - register ptrdiff_t stackUsed; | |
8 | + register size_t stackUsed; | |
9 | int localVar; /* Reference to somewhere on the local stack. | |
10 | * This is declared last so it's as "deep" as | |
11 | * possible. */ | |
12 | @@ -1089,7 +1089,7 @@ | |
13 | * Now we perform the actual check. Are we about to blow our stack frame? | |
14 | */ | |
15 | ||
16 | - if (stackUsed < (ptrdiff_t) tsdPtr->stackSize) { | |
17 | + if (stackUsed < tsdPtr->stackSize) { | |
18 | STACK_DEBUG(("stack OK\tin:%p\tout:%p\tuse:%04X\tmax:%04X\n", | |
19 | &localVar, tsdPtr->outerVarPtr, stackUsed, tsdPtr->stackSize)); | |
20 | return 1; |