Skip to content

Format conversion error in coverage test #60

@jphickey

Description

@jphickey

Describe the bug
When compiling the coverage test on RTEMS, a format conversion error is triggered:

/home/joe/code/cfecfs/github/apps/sample_app/unit-test/coveragetest/coveragetest_sample_app.c:152:5: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32' [-Werror=format=]
     UtAssert_True(SAMPLE_AppData.RunStatus == CFE_ES_RunStatus_APP_ERROR,
     ^
cc1: all warnings being treated as errors

To Reproduce
Build with ENABLE_UNIT_TESTS=TRUE for i686-rtems4.11 platform

Expected behavior
Should build clean

System observed on:
i686-rtems4.11 cross build

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions