CO_SRDO: static analysis: loss of precision (assignment) from 32 bits to 8 bits
when: SRDO->dataLength = srdoDataLength[0];
This commit is contained in:
parent
c4c4f98e2c
commit
5a31668c3e
1 changed files with 1 additions and 1 deletions
|
|
@ -575,7 +575,7 @@ CO_SRDO_init(CO_SRDO_t* SRDO, uint8_t SRDO_Index, CO_SRDOGuard_t* SRDOGuard, OD_
|
|||
|
||||
/* Configure mappings */
|
||||
if ((err == 0U) && configurationInProgress) {
|
||||
size_t srdoDataLength[2] = {0, 0};
|
||||
CO_SRDO_size_t srdoDataLength[2] = {0, 0};
|
||||
|
||||
for (uint8_t i = 0; i < mappedObjectsCount; i++) {
|
||||
uint8_t plain_inverted = i % 2U;
|
||||
|
|
|
|||
Loading…
Reference in a new issue