summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_rpc.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_port_rpc.c
parent43ba7aad6cadfab2eb45f09e894dec072c93e6cd (diff)
downloadunit-0665896a5593fb41c92cbf164182a058ee40518c.tar.gz
unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.bz2
Style: capitalized letters in hexadecimal literals.
Diffstat (limited to 'src/nxt_port_rpc.c')
-rw-r--r--src/nxt_port_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_port_rpc.c b/src/nxt_port_rpc.c
index 3e29230a..136e7f2b 100644
--- a/src/nxt_port_rpc.c
+++ b/src/nxt_port_rpc.c
@@ -106,7 +106,7 @@ nxt_port_rpc_register_handler_ex(nxt_task_t *task, nxt_port_t *port,
nxt_assert(port->pair[0] != -1);
stream =
- (uint32_t) nxt_atomic_fetch_add(&nxt_stream_ident, 1) & 0x3fffffff;
+ (uint32_t) nxt_atomic_fetch_add(&nxt_stream_ident, 1) & 0x3FFFFFFF;
reg = nxt_mp_zalloc(port->mem_pool, sizeof(nxt_port_rpc_reg_t) + ex_size);