This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler warnings : integer conversion resulted in truncation

Other Parts Discussed in Thread: AWR6843, MMWAVEICBOOST, AWR6843ISK

Used MCAL: 01.04.01.00.GA MCAL for AWR6843 Device
Used HW: MMWAVEICBOOST and AWR6843ISK

 

In Can_MCan.c, the following code is present (line 243 and more) :

 

 Dem_ReportErrorStatus(CAN_E_HARDWARE_ERROR, DEM_EVENT_STATUS_FAILED);

 

Dem_ReportErrorStatus holds a uint16 as first parameter whereas CAN_E_HARDWARE_ERROR is a uint32 set to 0xFFFFFFFFU.

The compiler shows the following warning :

warning #70-D: integer conversion resulted in truncation