Ack.
-----Original Message-----
From: Thanh Nguyen <[email protected]>
Sent: Friday, August 27, 2021 9:26 AM
To: Thang Duc Nguyen <[email protected]>; Minh Hon Chau
<[email protected]>; [email protected]
Cc: [email protected]; Thanh Nguyen
<[email protected]>
Subject: [PATCH 1/1] ntf: Fix compilation errors for 32 bit machine [#3279]
Patch for ticket 3277 failed compilation for 32 bit machine.
This patch fixes these compilation errors.
---
src/ntf/ntfd/NtfSubscription.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/ntf/ntfd/NtfSubscription.cc b/src/ntf/ntfd/NtfSubscription.cc
index 95b22ac84..4e42a3a35 100644
--- a/src/ntf/ntfd/NtfSubscription.cc
+++ b/src/ntf/ntfd/NtfSubscription.cc
@@ -302,7 +302,7 @@ void NtfSubscription::sendNotification(NtfSmartPtr&
notification,
evt->info.mds_info.node_id =
m_NTFS_GET_NODE_ID_FROM_ADEST(client->getMdsDest());
evt->info.mds_info.mds_dest_id = client->getMdsDest();
- TRACE("Nodeid: %u, MdsDest: %lu", evt->info.mds_info.node_id,
+ TRACE("Nodeid: %u, MdsDest: %" PRIu64,
+ evt->info.mds_info.node_id,
evt->info.mds_info.mds_dest_id);
TRACE("mdsDest: %" PRIu64, evt->info.mds_info.mds_dest_id);
@@ -313,7 +313,8 @@ void NtfSubscription::sendNotification(NtfSmartPtr&
notification,
free(evt);
goto done;
}
- LOG_ER("Down event missed for app with mdsdest: %lu on node: %u",
+ LOG_ER(
+ "Down event missed for app with mdsdest: %" PRIu64 " on
+ node: %u",
evt->info.mds_info.mds_dest_id, evt->info.mds_info.node_id);
} // End
}
--
2.25.0
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel