mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Resolve signedness warnings on GCC
This commit is contained in:
@@ -59,7 +59,7 @@ std::vector<uint8_t> FlexRayControlMessage::BuildWriteMessageBufferArgs(
|
||||
uint8_t(desiredSize / 4)
|
||||
};
|
||||
args.insert(args.end(), data.begin(), data.end());
|
||||
if(args.size() != desiredSize + 2)
|
||||
if((int)args.size() != desiredSize + 2)
|
||||
args.resize(desiredSize + 2);
|
||||
return BuildBaseControlArgs(controller, FlexRay::Opcode::WriteMessageBuffer, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user