fix warnings
Fix a couple warnings so we can use meson warning level 3. Instances of
the following warnings are found and resolved:
Wreorder
Wsign-compare
Change-Id: Ia223b42aa6bf743cfa0e7042cc3d5a18977459be
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/include/PSUSensor.hpp b/include/PSUSensor.hpp
index c0ebe6a..4ab553f 100644
--- a/include/PSUSensor.hpp
+++ b/include/PSUSensor.hpp
@@ -27,7 +27,7 @@
boost::asio::deadline_timer waitTimer;
boost::asio::streambuf readBuf;
std::string path;
- int errCount;
+ size_t errCount;
unsigned int sensorFactor;
void setupRead(void);
void handleResponse(const boost::system::error_code& err);