summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_fiber.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_fiber.c')
-rw-r--r--src/nxt_fiber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_fiber.c b/src/nxt_fiber.c
index cbb1392b..2312c855 100644
--- a/src/nxt_fiber.c
+++ b/src/nxt_fiber.c
@@ -219,9 +219,9 @@ nxt_fiber_switch_stack(nxt_fiber_t *fib, jmp_buf *parent)
makecontext(&uc, (void (*)(void)) nxt_fiber_trampoline, 4,
(uint32_t) ((uintptr_t) fib >> 32),
- (uint32_t) ((uintptr_t) fib & 0xffffffff),
+ (uint32_t) ((uintptr_t) fib & 0xFFFFFFFF),
(uint32_t) ((uintptr_t) parent >> 32),
- (uint32_t) ((uintptr_t) parent & 0xffffffff));
+ (uint32_t) ((uintptr_t) parent & 0xFFFFFFFF));
setcontext(&uc);