Skip to content

Implicit type conversion in CFE_ES_PerfLogAdd()) #2638

@mafoste3

Description

@mafoste3

There is an implicit type conversion in the string formatting where the variable 'Marker' is defined as an unsigned integer and is formatted for printing as a signed integer %d.

Fix is to change string formatting from %d to %u.

CFE_ES_WriteToSysLog("%s: Invalid performance marker %d,max is %d\n", __func__, (unsigned int)Marker,

Reporter Info
Mark Foster
NASA / Johnson Space Center / ER6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions