From b42fc7a298748ba14811f10515dbdebb8c72aab8 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Thu, 19 Sep 2024 08:18:53 -0400 Subject: [PATCH] HOTFIX #437, Additional type fix for RTEMS 4 --- fsw/modules/eeprom_mmap_file/cfe_psp_eeprom_mmap_file.c | 2 +- unit-test-coverage/ut-stubs/src/PCS_time_handlers.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fsw/modules/eeprom_mmap_file/cfe_psp_eeprom_mmap_file.c b/fsw/modules/eeprom_mmap_file/cfe_psp_eeprom_mmap_file.c index 1b93393c..85cd2707 100644 --- a/fsw/modules/eeprom_mmap_file/cfe_psp_eeprom_mmap_file.c +++ b/fsw/modules/eeprom_mmap_file/cfe_psp_eeprom_mmap_file.c @@ -190,7 +190,7 @@ void eeprom_mmap_file_Init(uint32 PspModuleId) Status = CFE_PSP_MemRangeSet(1, CFE_PSP_MEM_EEPROM, eeprom_address, eeprom_size, CFE_PSP_MEM_SIZE_DWORD, CFE_PSP_MEM_ATTR_READWRITE); OS_printf("CFE_PSP: EEPROM Range (2) created: Start Address = %08lX, Size = %08X Status = %d\n", - (unsigned long)eeprom_address, (unsigned int)eeprom_size, Status); + (unsigned long)eeprom_address, (unsigned int)eeprom_size, (int)Status); } else { diff --git a/unit-test-coverage/ut-stubs/src/PCS_time_handlers.c b/unit-test-coverage/ut-stubs/src/PCS_time_handlers.c index a1fdb874..6d5ab351 100644 --- a/unit-test-coverage/ut-stubs/src/PCS_time_handlers.c +++ b/unit-test-coverage/ut-stubs/src/PCS_time_handlers.c @@ -27,7 +27,7 @@ void UT_DefaultHandler_PCS_clock_gettime(void *UserObj, UT_EntryKey_t FuncKey, c { /* int PCS_clock_gettime(int clk_id, struct PCS_timespec *t) */ struct PCS_timespec *t = UT_Hook_GetArgValueByName(Context, "t", struct PCS_timespec *); - int32 iStatus; + int32 iStatus; UT_Stub_GetInt32StatusCode(Context, &iStatus);