From 14faa472e6f703bb74a6d56125693831b63ace20 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Fri, 16 Apr 2021 16:39:18 -0400 Subject: [PATCH] Fix #1311, CFE_SUCCESS constant type Ensures that the CFE_SUCCESS constant is the CFE_Status_t type. --- modules/core_api/fsw/inc/cfe_error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core_api/fsw/inc/cfe_error.h b/modules/core_api/fsw/inc/cfe_error.h index 8b9461cb8..eebe92a8d 100644 --- a/modules/core_api/fsw/inc/cfe_error.h +++ b/modules/core_api/fsw/inc/cfe_error.h @@ -117,7 +117,7 @@ typedef int32 CFE_Status_t; * * Operation was performed successfully */ -#define CFE_SUCCESS (0) +#define CFE_SUCCESS ((CFE_Status_t)0) /** * @brief No Counter Increment