Ack, Mathi. -----Original Message----- From: Zoran Milinkovic [mailto:zoran.milinko...@ericsson.com] Sent: Monday, February 03, 2014 5:46 PM To: Sirisha Alla Cc: opensaf-devel@lists.sourceforge.net Subject: [devel] [PATCH 1 of 1] osaf: fix compiling problem for 32-bit environment [#758]
osaf/libs/saf/include/saImmOm_A_2_13.h | 2 +- osaf/libs/saf/include/saNtf.h | 2 +- tests/clmsv/src/tet_saClmClusterNodeGet.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osaf/libs/saf/include/saImmOm_A_2_13.h b/osaf/libs/saf/include/saImmOm_A_2_13.h --- a/osaf/libs/saf/include/saImmOm_A_2_13.h +++ b/osaf/libs/saf/include/saImmOm_A_2_13.h @@ -63,7 +63,7 @@ extern "C" { #define SA_IMM_SEARCH_GET_CONFIG_ATTR 0x0000000000010000 / * See: http://devel.opensaf.org/ticket/1897 Supported in OpenSaf 4.3 * / */ -#define SA_IMM_SEARCH_NO_DANGLING_DEPENDENTS 0x0000000100000000 /* See: https://sourceforge.net/p/opensaf/tickets/50/ +#define SA_IMM_SEARCH_NO_DANGLING_DEPENDENTS 0x0000000100000000ull /* See: https://sourceforge.net/p/opensaf/tickets/50/ Supported in OpenSaf 4.4 */ diff --git a/osaf/libs/saf/include/saNtf.h b/osaf/libs/saf/include/saNtf.h --- a/osaf/libs/saf/include/saNtf.h +++ b/osaf/libs/saf/include/saNtf.h @@ -622,7 +622,7 @@ typedef struct { SaNtfNotificationFilterHandleT miscellaneousFilterHandle; } SaNtfNotificationTypeFilterHandlesT_3; -#define SA_NTF_FILTER_HANDLE_NULL ((SaNtfNotificationFilterHandleT) NULL) +#define SA_NTF_FILTER_HANDLE_NULL ((SaNtfNotificationFilterHandleT) 0) #if defined(SA_NTF_A01) || defined(SA_NTF_A02) typedef struct { diff --git a/tests/clmsv/src/tet_saClmClusterNodeGet.c b/tests/clmsv/src/tet_saClmClusterNodeGet.c --- a/tests/clmsv/src/tet_saClmClusterNodeGet.c +++ b/tests/clmsv/src/tet_saClmClusterNodeGet.c @@ -20,7 +20,7 @@ SaClmClusterNodeT clusterNode_1; SaClmClusterNodeT_4 clusterNode_4; SaClmNodeIdT nodeId; -SaTimeT timeout = 10000000000; +SaTimeT timeout = 10000000000ll; void saClmClusterNodeGet_01(void) { ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel