[PATCH 2/2] votequorum: fix node->flags type when receiving nodeinfo messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx>

old_flags was set to uint16_t but it needs to be uint32_t.

Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx>
---
 exec/votequorum.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec/votequorum.c b/exec/votequorum.c
index 3e177e8..4dab33e 100644
--- a/exec/votequorum.c
+++ b/exec/votequorum.c
@@ -1476,7 +1476,7 @@ static void message_handler_req_exec_votequorum_nodeinfo (
 	struct cluster_node *node = NULL;
 	int old_votes;
 	int old_expected;
-	uint16_t old_flags;
+	uint32_t old_flags;
 	nodestate_t old_state;
 	int new_node = 0;
 	int allow_downgrade = 0;
-- 
1.7.7.6

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux