From 14c3daa6cb5acda9a5ade92a89a512734da8668c Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Fri, 1 Sep 2023 10:16:29 -0400 Subject: [PATCH] HotFix #2438, add required cast to printf output --- modules/cfe_testcase/src/sb_performance_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/cfe_testcase/src/sb_performance_test.c b/modules/cfe_testcase/src/sb_performance_test.c index e56b1e09d..25f86ef44 100644 --- a/modules/cfe_testcase/src/sb_performance_test.c +++ b/modules/cfe_testcase/src/sb_performance_test.c @@ -138,7 +138,8 @@ void TestBulkTransmitRecv(void) CFE_PSP_GetTime(&ElapsedTime); ElapsedTime = OS_TimeSubtract(ElapsedTime, StartTime); - UtAssert_MIR("Elapsed time for SB bulk message test: %lu usec", OS_TimeGetTotalMicroseconds(ElapsedTime)); + UtAssert_MIR("Elapsed time for SB bulk message test: %lu usec", + (unsigned long)OS_TimeGetTotalMicroseconds(ElapsedTime)); } void SBPerformanceTestSetup(void)