Skip to content

Commit

Permalink
Fix nasa#663, Scrub datatypes across TIME
Browse files Browse the repository at this point in the history
Fix all use of uint32 for sizes, replace with size_t
Scrub all other types to make sure use is consistent,
using proper typedef whenever available.
  • Loading branch information
jphickey committed Nov 18, 2020
1 parent 2c1c905 commit 2cea88d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fsw/cfe-core/src/time/cfe_time_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,10 @@ int32 CFE_TIME_TaskInit(void)
** Return:
** true if length is acceptable
*/
bool CFE_TIME_VerifyCmdLength(CFE_SB_MsgPtr_t Msg, uint16 ExpectedLength)
bool CFE_TIME_VerifyCmdLength(CFE_SB_MsgPtr_t Msg, size_t ExpectedLength)
{
bool result = true;
uint16 ActualLength = CFE_SB_GetTotalMsgLength(Msg);
size_t ActualLength = CFE_SB_GetTotalMsgLength(Msg);

/*
** Verify the command packet length
Expand Down
2 changes: 1 addition & 1 deletion fsw/cfe-core/src/time/cfe_time_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
*/
#define CFE_TIME_TASK_TONE_NAME "TIME_TONE_TASK"
#define CFE_TIME_TASK_1HZ_NAME "TIME_1HZ_TASK"
#define CFE_TIME_TASK_STACK_PTR 0
#define CFE_TIME_TASK_STACK_PTR CFE_ES_TASK_STACK_ALLOCATE
#define CFE_TIME_TASK_FLAGS 0

/*
Expand Down

0 comments on commit 2cea88d

Please sign in to comment.