ctdb-protocol: Fix marshaling of seqnum
[obnox/samba/samba-obnox.git] / 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: