Skip to content

Commit db714aa

Browse files
committed
---
yaml --- r: 6231 b: refs/heads/master c: fc064f4 h: refs/heads/master i: 6229: c649060 6227: fc4c6a7 6223: 86c510f v: v3
1 parent cb0b719 commit db714aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 711a3b066b311ccf8b989e4058cc6f041ab8dca7
2+
refs/heads/master: fc064f441026f2f34417925a26c1f6d73a7faf2c

trunk/src/rt/arch/x86_64/context.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class context {
4646
// function being called causes the task to fail, then we have to avoid
4747
// leaking space on the C stack.
4848
inline void *alloc_stack(size_t nbytes) {
49-
uint32_t bot = regs.data[RUSTRT_RSP];
50-
uint32_t top = align_down(bot - nbytes);
49+
uint64_t bot = regs.data[RUSTRT_RSP];
50+
uint64_t top = align_down(bot - nbytes);
5151

5252
#ifdef HAVE_VALGRIND
5353
(void)VALGRIND_MAKE_MEM_UNDEFINED(top - 4, bot - top + 4);

0 commit comments

Comments
 (0)