summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_application.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index 6c5f0d6e..c899b1c7 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -292,7 +292,7 @@ nxt_app_msg_read_length(u_char *src, size_t *length)
src++;
} else {
- *length = ((src[0] & 0x7fU) << 24) +
+ *length = ((src[0] & 0x7FU) << 24) +
(src[1] << 16) +
(src[2] << 8) +
src[3];