Closed skliper closed 2 years ago
The cast is necessary since Status is of type int32, and the print format expects unsigned int. Note the preferred solution for consistent cFE status reporting is to use CFE_ES_StatusToString added in nasa/cFE#2113.
LC_SbInit is casting the Status in every event send to an unsigned int. The cast appears unnecessary, CFE_EVS_SendEvent takes a variable length of arguments because it does a formatting of the string with the values sent AND the format in the send events is %08X (print 8 characters in upper case hex).
Imported from GSFCCFS-1099