ctdb-protocol: Fix marshaling of seqnum
authorAmitay Isaacs <amitay@gmail.com>
Thu, 26 Nov 2015 02:50:14 +0000 (13:50 +1100)
committerMartin Schwenke <martins@samba.org>
Wed, 20 Jan 2016 03:19:11 +0000 (04:19 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/protocol/protocol_control.c

index 95edc1a2c3432705c84d62c89c76e72e0d903a28..1c8364e3b0c4cd5238645f2671260df40a15cfc1 100644 (file)
@@ -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: