diff --git a/src/os/shared/src/osapi-errors.c b/src/os/shared/src/osapi-errors.c index c20c2bb66..2eb04e943 100644 --- a/src/os/shared/src/osapi-errors.c +++ b/src/os/shared/src/osapi-errors.c @@ -98,7 +98,7 @@ static const OS_ErrorTable_Entry_t OS_GLOBAL_ERROR_NAME_TABLE[] = { *-----------------------------------------------------------------*/ int32 OS_GetErrorName(int32 error_num, os_err_name_t *err_name) { - uint32 return_code; + int32 return_code; const OS_ErrorTable_Entry_t *Error; /* Check parameters */ diff --git a/src/os/shared/src/osapi-network.c b/src/os/shared/src/osapi-network.c index 3e6b9eeb9..70367fa16 100644 --- a/src/os/shared/src/osapi-network.c +++ b/src/os/shared/src/osapi-network.c @@ -65,7 +65,7 @@ int32 OS_NetworkAPI_Init(void) *-----------------------------------------------------------------*/ int32 OS_NetworkGetHostName(char *host_name, size_t name_len) { - uint32 return_code; + int32 return_code; /* Check parameters */ OS_CHECK_POINTER(host_name);