summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_mem_zone.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_mem_zone.c
parent43ba7aad6cadfab2eb45f09e894dec072c93e6cd (diff)
downloadunit-0665896a5593fb41c92cbf164182a058ee40518c.tar.gz
unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.bz2
Style: capitalized letters in hexadecimal literals.
Diffstat (limited to 'src/nxt_mem_zone.c')
-rw-r--r--src/nxt_mem_zone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_mem_zone.c b/src/nxt_mem_zone.c
index a93441c5..67c6d746 100644
--- a/src/nxt_mem_zone.c
+++ b/src/nxt_mem_zone.c
@@ -598,10 +598,10 @@ nxt_mem_zone_alloc_chunk(uint8_t *map, nxt_uint_t offset, nxt_uint_t size)
for ( ;; ) {
/* The bitmap is always aligned to uint32_t. */
- if (*(uint32_t *) &map[n] != 0xffffffff) {
+ if (*(uint32_t *) &map[n] != 0xFFFFFFFF) {
do {
- if (map[n] != 0xff) {
+ if (map[n] != 0xFF) {
mask = 0x80;