mirror of
https://github.com/eclipse/upm.git
synced 2025-07-27 14:11:15 +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:
@ -94,7 +94,7 @@ bool XBee::commandMode(std::string cmdChars, int guardTimeMS)
|
||||
|
||||
string XBee::stringCR2LF(string str)
|
||||
{
|
||||
for (int i=0; i<str.size(); i++)
|
||||
for (size_t i=0; i<str.size(); i++)
|
||||
if (str[i] == '\r')
|
||||
str[i] = '\n';
|
||||
|
||||
|
Reference in New Issue
Block a user