Skip to content

Commit d0cb7da

Browse files
committed
Fix Windows build
1 parent 0453ac2 commit d0cb7da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ get_stack(uintptr_t *start, size_t *size)
494494
SetThreadStackGuarantee(&guarantee);
495495

496496
*start = (uintptr_t)low + guarantee;
497-
*size = (uintptr_t)high - start;
497+
*size = (uintptr_t)high - *start;
498498

499499
#elif defined(__APPLE__)
500500
pthread_t this_thread = pthread_self();

0 commit comments

Comments
 (0)