We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0fc0c4 commit b0063faCopy full SHA for b0063fa
src/transport/raw/TCP.cpp
@@ -42,8 +42,7 @@ using namespace chip::Encoding;
42
// Packets start with a 32-bit size field.
43
constexpr size_t kPacketSizeBytes = 4;
44
45
-static_assert(System::PacketBuffer::kLargeBufMaxSizeWithoutReserve <= UINT32_MAX,
46
- "Cast below could truncate the value");
+static_assert(System::PacketBuffer::kLargeBufMaxSizeWithoutReserve <= UINT32_MAX, "Cast below could truncate the value");
47
static_assert(System::PacketBuffer::kLargeBufMaxSizeWithoutReserve >= kPacketSizeBytes,
48
"Large buffer allocation should be large enough to hold the length field");
49
0 commit comments