We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4945931 commit 3ded683Copy full SHA for 3ded683
include/fastdds/rtps/common/InstanceHandle.h
@@ -298,7 +298,7 @@ inline std::ostream& operator <<(
298
{
299
output << (int)iHandle.value[i] << ".";
300
}
301
- output << (int)iHandle.value[15] << std::dec;
+ output << (int)iHandle.value[15u] << std::dec;
302
return output;
303
304
@@ -331,9 +331,9 @@ inline std::istream& operator >>(
331
input.setstate(std::ios_base::failbit);
332
333
334
- iHandle.value[0] = static_cast<octet>(hex);
+ iHandle.value[0u] = static_cast<octet>(hex);
335
336
- for (int i = 1; i < 16; ++i)
+ for (uint8_t i = 1; i < 16; ++i)
337
338
input >> point >> hex;
339
if ( point != '.' || hex > 255 )
0 commit comments