summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_fiber.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-04 18:13:05 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-04 18:13:05 +0300
commit0665896a5593fb41c92cbf164182a058ee40518c (patch)
treed657fac84d35aa3f605d25dc8e0a3c165db93b30 /src/nxt_fiber.c
parent43ba7aad6cadfab2eb45f09e894dec072c93e6cd (diff)
downloadunit-0665896a5593fb41c92cbf164182a058ee40518c.tar.gz
unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.bz2
Style: capitalized letters in hexadecimal literals.
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);