summaryrefslogtreecommitdiffstats
path: root/import/hwpf/fapi2/include
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-06-07 16:35:33 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 16:04:26 -0500
commit2ccaf188b68223d483d8632c46df2613472657b4 (patch)
tree7a6b8a2cd2ef51175eb8618b3d19bfde088f7312 /import/hwpf/fapi2/include
parenta2c1d8ce182a079c12757e0e912b72d0b455d608 (diff)
downloadtalos-hcode-2ccaf188b68223d483d8632c46df2613472657b4.tar.gz
talos-hcode-2ccaf188b68223d483d8632c46df2613472657b4.zip
Add explicit RC checkers to ReturnCode class
We encountered compiler errors trying to do seemingly normal comparisons that hit the operator overloads. It required some non-ideal casting operations to make it work. These new functions push all of the casting logic into the class where it belongs. Change-Id: I566f12acbd698a625848514399aca1b7ec233496 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25473 Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/hwpf/fapi2/include')
-rw-r--r--import/hwpf/fapi2/include/return_code_defs.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/import/hwpf/fapi2/include/return_code_defs.H b/import/hwpf/fapi2/include/return_code_defs.H
index e67f05e5..e5727ed1 100644
--- a/import/hwpf/fapi2/include/return_code_defs.H
+++ b/import/hwpf/fapi2/include/return_code_defs.H
@@ -61,7 +61,7 @@ namespace fapi2
///
/// @brief Enumeration of return codes
///
-enum ReturnCodes
+enum ReturnCodes : uint32_t
{
///< Success
FAPI2_RC_SUCCESS = 0,
OpenPOWER on IntegriCloud