summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_clang.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_clang.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_clang.h b/src/nxt_clang.h
index 4b02b468..60d12fb2 100644
--- a/src/nxt_clang.h
+++ b/src/nxt_clang.h
@@ -217,8 +217,8 @@ nxt_min(val1, val2) \
#define \
nxt_bswap32(val) \
( ((val) >> 24) \
- | (((val) & 0x00ff0000) >> 8) \
- | (((val) & 0x0000ff00) << 8) \
+ | (((val) & 0x00FF0000) >> 8) \
+ | (((val) & 0x0000FF00) << 8) \
| ((val) << 24))