We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f1be048 + 44abf7f commit 60af1f7Copy full SHA for 60af1f7
fsw/cfe-core/ut-stubs/ut_time_stubs.c
@@ -102,11 +102,10 @@ void CFE_TIME_TaskMain(void)
102
void CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)
103
{
104
snprintf(PrintBuffer,
105
- CFE_TIME_PRINTED_STRING_SIZE,
106
- "UT %lu.%lu -",
107
- (unsigned long)TimeToPrint.Seconds,
108
- (unsigned long)TimeToPrint.Subseconds);
109
-
+ CFE_TIME_PRINTED_STRING_SIZE,
+ "UT %u.%u -",
+ (unsigned int)TimeToPrint.Seconds,
+ (unsigned int)TimeToPrint.Subseconds);
110
111
UT_Stub_RegisterContext(UT_KEY(CFE_TIME_Print), PrintBuffer);
112
UT_Stub_RegisterContext(UT_KEY(CFE_TIME_Print), &TimeToPrint);
0 commit comments