Skip to content

Commit 7786aef

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cfe_testcase/src/es_task_test.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ 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, (int)count);
9090
}
9191

9292
void TestExitChild(void)

0 commit comments

Comments
 (0)