Skip to content

Commit de286ff

Browse files
committed
Fix nasa#1522, add printf format casts
Use (int) with %d conversions for portability
1 parent 82c1bd4 commit de286ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/cfe_testcase/src/es_task_test.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ void TestCreateChild(void)
8686

8787
OS_TaskDelay(500);
8888

89-
UtAssert_True(countCopy == count || countCopy == count + 1, "countCopy (%d) == count (%d)", countCopy, count);
89+
UtAssert_True(countCopy == count || countCopy == count + 1, "countCopy (%d) == count (%d)", (int)countCopy,
90+
(int)count);
9091
}
9192

9293
void TestExitChild(void)

0 commit comments

Comments
 (0)