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 790fb9f commit bbb4c58Copy full SHA for bbb4c58
include/fastdds/rtps/common/InstanceHandle.hpp
@@ -301,7 +301,7 @@ inline std::ostream& operator <<(
301
{
302
ss << (int)iHandle.value[i] << ".";
303
}
304
- ss << (int)iHandle.value[15] << std::dec;
+ ss << (int)iHandle.value[15u] << std::dec;
305
return output << ss.str();
306
307
@@ -334,9 +334,9 @@ inline std::istream& operator >>(
334
input.setstate(std::ios_base::failbit);
335
336
337
- iHandle.value[0] = static_cast<octet>(hex);
+ iHandle.value[0u] = static_cast<octet>(hex);
338
339
- for (int i = 1; i < 16; ++i)
+ for (uint8_t i = 1; i < 16; ++i)
340
341
input >> point >> hex;
342
if ( point != '.' || hex > 255 )
0 commit comments