From 4e2847ed3cef1990385e040bf53b07fd9980a567 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Mon, 27 Apr 2020 16:29:39 -0400 Subject: [PATCH] Fix #60, incorrect conversion specifier Corrects a format mismatch warning on some platforms. --- unit-test/coveragetest/coveragetest_sample_app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit-test/coveragetest/coveragetest_sample_app.c b/unit-test/coveragetest/coveragetest_sample_app.c index b7a53a6..b97bad7 100644 --- a/unit-test/coveragetest/coveragetest_sample_app.c +++ b/unit-test/coveragetest/coveragetest_sample_app.c @@ -150,8 +150,8 @@ void Test_SAMPLE_AppMain(void) * log will show what the incorrect value was. */ UtAssert_True(SAMPLE_AppData.RunStatus == CFE_ES_RunStatus_APP_ERROR, - "SAMPLE_AppData.RunStatus (%d) == CFE_ES_RunStatus_APP_ERROR", - SAMPLE_AppData.RunStatus); + "SAMPLE_AppData.RunStatus (%lu) == CFE_ES_RunStatus_APP_ERROR", + (unsigned long)SAMPLE_AppData.RunStatus); /*