Skip to content

Commit

Permalink
Fix #788, Resolve coercion alters value warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Feb 10, 2021
1 parent 09a2c5e commit dd2368d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/os/shared/src/osapi-errors.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

OS_CHECK_POINTER(err_name);
Expand Down
2 changes: 1 addition & 1 deletion src/os/shared/src/osapi-network.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dd2368d

Please sign in to comment.