summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_clang.h
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_clang.h
parent43ba7aad6cadfab2eb45f09e894dec072c93e6cd (diff)
downloadunit-0665896a5593fb41c92cbf164182a058ee40518c.tar.gz
unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.bz2
Style: capitalized letters in hexadecimal literals.
Diffstat (limited to 'src/nxt_clang.h')
-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))