From: thang.d.nguyen <tha...@de...> - 2024-05-07 00:55:36
|
Fix some minor errors while build/compile source code with gcc/g++ 13. --- src/imm/immnd/ImmModel.h | 1 + src/osaf/consensus/consensus_env.h | 1 + src/smf/smfnd/smfnd_amf.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/imm/immnd/ImmModel.h b/src/imm/immnd/ImmModel.h index 02e2178e5..3c5860cb5 100644 --- a/src/imm/immnd/ImmModel.h +++ b/src/imm/immnd/ImmModel.h @@ -21,6 +21,7 @@ #include <saImmOm.h> #include <cstdarg> +#include <cstdint> #include <sys/types.h> #include <string> #include <vector> diff --git a/src/osaf/consensus/consensus_env.h b/src/osaf/consensus/consensus_env.h index df4f93a7a..1a60b2d82 100644 --- a/src/osaf/consensus/consensus_env.h +++ b/src/osaf/consensus/consensus_env.h @@ -16,6 +16,7 @@ #define OSAF_CONSENSUS_CONSENSUS_ENV_H_ #include <string> +#include <cstdint> #include "base/mutex.h" typedef struct _ConsensusCfg { diff --git a/src/smf/smfnd/smfnd_amf.c b/src/smf/smfnd/smfnd_amf.c index 99a373922..787d60699 100644 --- a/src/smf/smfnd/smfnd_amf.c +++ b/src/smf/smfnd/smfnd_amf.c @@ -223,7 +223,7 @@ static SaAisErrorT amf_healthcheck_start(smfnd_cb_t *cb) SA_AIS_ERR_* - failure **************************************************************************/ -SaAisErrorT smfnd_amf_init(smfnd_cb_t *cb) +uint32_t smfnd_amf_init(smfnd_cb_t *cb) { SaAmfCallbacksT amfCallbacks; SaVersionT amf_version; -- 2.25.1 |