mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
Wsign-compare: Fixed all sign compare warnings in src
This commit addresses all warnings emitted from -Wunused-function in the C++ src. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -481,7 +481,7 @@ string BNO055::readCalibrationData()
|
||||
|
||||
void BNO055::writeCalibrationData(string calibData)
|
||||
{
|
||||
if (calibData.size() != calibrationDataNumBytes)
|
||||
if (static_cast<int>(calibData.size()) != calibrationDataNumBytes)
|
||||
{
|
||||
throw std::invalid_argument(std::string(__FUNCTION__)
|
||||
+ ": calibData string must be exactly "
|
||||
|
Reference in New Issue
Block a user