fix different signedness comparison
../ipmbbridged.cpp:368:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I12bff463c9422f050a572f0936ca5488a461c807
diff --git a/ipmbbridged.hpp b/ipmbbridged.hpp
index 08c68e8..d7a75a7 100644
--- a/ipmbbridged.hpp
+++ b/ipmbbridged.hpp
@@ -73,8 +73,8 @@
constexpr size_t ipmbPktLenSize = 1;
constexpr size_t ipmbChecksumSize = 1;
constexpr size_t ipmbChecksum2StartOffset = 3;
-constexpr size_t ipmbMinFrameLength = 7;
-constexpr size_t ipmbMaxFrameLength =
+constexpr ssize_t ipmbMinFrameLength = 7;
+constexpr ssize_t ipmbMaxFrameLength =
ipmbPktLenSize + ipmbConnectionHeaderLength + ipmbResponseDataHeaderLength +
ipmbChecksumSize + ipmbMaxDataSize;