From: Amitay Isaacs Date: Thu, 26 Nov 2015 02:50:14 +0000 (+1100) Subject: ctdb-protocol: Fix marshaling of seqnum X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba%2Fsamba-obnox.git;a=commitdiff_plain;h=0ed60d757d3cb134eb74e559bc3288b44cf74a6f ctdb-protocol: Fix marshaling of seqnum Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/protocol/protocol_control.c b/ctdb/protocol/protocol_control.c index 95edc1a2c34..1c8364e3b0c 100644 --- a/ctdb/protocol/protocol_control.c +++ b/ctdb/protocol/protocol_control.c @@ -713,7 +713,7 @@ static void ctdb_req_control_data_push(struct ctdb_req_control_data *cd, case CTDB_CONTROL_GET_DB_SEQNUM: u64 = cd->data.db_id; - ctdb_uint32_push(u64, buf); + ctdb_uint64_push(u64, buf); break; case CTDB_CONTROL_DB_SET_HEALTHY: