Hi, use ULL, e.g 0x123ULL for the constant. Or use UINT64_C(0x123) from stdint.h/BR HansN
-----Original Message----- From: Zoran Milinkovic [mailto:zoran.milinko...@ericsson.com] Sent: den 8 april 2014 10:46 To: reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [devel] [PATCH 1 of 1] IMMTOOLS: fix errors compiled with 32-bit compiler [#838] osaf/tools/safimm/immcfg/imm_import.cc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osaf/tools/safimm/immcfg/imm_import.cc b/osaf/tools/safimm/immcfg/imm_import.cc --- a/osaf/tools/safimm/immcfg/imm_import.cc +++ b/osaf/tools/safimm/immcfg/imm_import.cc @@ -1930,7 +1930,7 @@ static void charactersHandler(void* user case FLAG: { SaImmAttrFlagsT flg = charsToFlagsHelper(chars, (size_t)len); - if(flg == 0xffffffffffffffff) { + if(flg == 0xffffffffffffffffllu) { stopParser(state); state->parsingStatus = 1; } else { @@ -2003,7 +2003,7 @@ static SaImmAttrFlagsT charsToFlagsHelpe LOG_ER("UNKNOWN FLAGS, %s", flag.c_str()); - return 0xffffffffffffffff; + return 0xffffffffffffffffllu; } /** ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel