We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44fddab commit 9437a7dCopy full SHA for 9437a7d
include/fastdds/rtps/common/InstanceHandle.h
@@ -299,7 +299,7 @@ inline std::ostream& operator <<(
299
{
300
ss << (int)iHandle.value[i] << ".";
301
}
302
- ss << (int)iHandle.value[15] << std::dec;
+ ss << (int)iHandle.value[15u] << std::dec;
303
return output << ss.str();
304
305
@@ -332,9 +332,9 @@ inline std::istream& operator >>(
332
input.setstate(std::ios_base::failbit);
333
334
335
- iHandle.value[0] = static_cast<octet>(hex);
+ iHandle.value[0u] = static_cast<octet>(hex);
336
337
- for (int i = 1; i < 16; ++i)
+ for (uint8_t i = 1; i < 16; ++i)
338
339
input >> point >> hex;
340
if ( point != '.' || hex > 255 )
0 commit comments