Skip to content

Commit 14faa47

Browse files
committed
Fix nasa#1311, CFE_SUCCESS constant type
Ensures that the CFE_SUCCESS constant is the CFE_Status_t type.
1 parent e80aae9 commit 14faa47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core_api/fsw/inc/cfe_error.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ typedef int32 CFE_Status_t;
117117
*
118118
* Operation was performed successfully
119119
*/
120-
#define CFE_SUCCESS (0)
120+
#define CFE_SUCCESS ((CFE_Status_t)0)
121121

122122
/**
123123
* @brief No Counter Increment

0 commit comments

Comments
 (0)