summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_mem_zone.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;