We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0453ac2 commit d0cb7daCopy full SHA for d0cb7da
Python/ceval.c
@@ -494,7 +494,7 @@ get_stack(uintptr_t *start, size_t *size)
494
SetThreadStackGuarantee(&guarantee);
495
496
*start = (uintptr_t)low + guarantee;
497
- *size = (uintptr_t)high - start;
+ *size = (uintptr_t)high - *start;
498
499
#elif defined(__APPLE__)
500
pthread_t this_thread = pthread_self();
0 commit comments