More warning fixes in the STM32 drvier, STM32 test project and the library core

This commit is contained in:
Pavel Kirienko
2014-08-28 17:28:44 +04:00
parent acf45e3e6b
commit 8a8bb78d38
7 changed files with 186 additions and 184 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ bool Frame::compile(CanFrame& out_can_frame) const
{
case TransferTypeMessageBroadcast:
{
out_can_frame.dlc = payload_len_;
out_can_frame.dlc = uint8_t(payload_len_);
(void)copy(payload_, payload_ + payload_len_, out_can_frame.data);
break;
}