From 78208d4fe47a0c634a6bd7c04f3d01f0020ee88b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 29 Feb 2024 15:33:56 +0100 Subject: [PATCH] ctdb: Remove an unnecessary cast nl->srvid is uint64_t, as is the srvid parameter of ctdb_daemon_send_message() Signed-off-by: Volker Lendecke Reviewed-by: Martin Schwenke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Wed Mar 13 08:43:16 UTC 2024 on atb-devel-224 --- ctdb/server/ctdb_daemon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c index eb9d63454de..0a53770a6bf 100644 --- a/ctdb/server/ctdb_daemon.c +++ b/ctdb/server/ctdb_daemon.c @@ -2016,7 +2016,10 @@ static int ctdb_client_notify_destructor(struct ctdb_client_notify_list *nl) DEBUG(DEBUG_ERR,("Sending client notify message for srvid:%llu\n", (unsigned long long)nl->srvid)); - ret = ctdb_daemon_send_message(nl->ctdb, CTDB_BROADCAST_CONNECTED, (unsigned long long)nl->srvid, nl->data); + ret = ctdb_daemon_send_message(nl->ctdb, + CTDB_BROADCAST_CONNECTED, + nl->srvid, + nl->data); if (ret != 0) { DEBUG(DEBUG_ERR,("Failed to send client notify message\n")); }