Skip to content

Commit 6078d1c

Browse files
committed
scons fmt didn't help, trying by disabling clang-format on offending line
1 parent 34c4aca commit 6078d1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/internal_modules/roc_address/target_berkley/roc_address/socket_addr.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ int SocketAddr::port() const {
151151
#define IN_MULTICAST_U(i) IN_MULTICAST(i)
152152
#else
153153
// Defined as (((long)(i) & 0xf0000000) == 0xe0000000) in Windows, causes Wsign-conversion
154-
#define IN_MULTICAST_U(i) (((unsigned long)(i)&0xf0000000u) == 0xe0000000u)
154+
// clang-format off
155+
#define IN_MULTICAST_U(i) (((unsigned long)(i) & 0xf0000000u) == 0xe0000000u)
156+
// clang-format on
155157
#endif
156158

157159
bool SocketAddr::is_multicast() const {

0 commit comments

Comments
 (0)