We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0b719 commit db714aaCopy full SHA for db714aa
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 711a3b066b311ccf8b989e4058cc6f041ab8dca7
+refs/heads/master: fc064f441026f2f34417925a26c1f6d73a7faf2c
trunk/src/rt/arch/x86_64/context.h
@@ -46,8 +46,8 @@ class context {
46
// function being called causes the task to fail, then we have to avoid
47
// leaking space on the C stack.
48
inline void *alloc_stack(size_t nbytes) {
49
- uint32_t bot = regs.data[RUSTRT_RSP];
50
- uint32_t top = align_down(bot - nbytes);
+ uint64_t bot = regs.data[RUSTRT_RSP];
+ uint64_t top = align_down(bot - nbytes);
51
52
#ifdef HAVE_VALGRIND
53
(void)VALGRIND_MAKE_MEM_UNDEFINED(top - 4, bot - top + 4);
0 commit comments