mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
tools/ctdb: Fix a compiler warning
Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit d1ec06d30148e6fd344625a2fbf1c22391bd908a)
This commit is contained in:
parent
385325ad90
commit
fe130ca85b
@ -4935,7 +4935,7 @@ static int control_setdbseqnum(struct ctdb_context *ctdb, int argc, const char *
|
||||
}
|
||||
|
||||
key.dptr = (uint8_t *)discard_const(CTDB_DB_SEQNUM_KEY);
|
||||
key.dsize = strlen(key.dptr) + 1;
|
||||
key.dsize = strlen(CTDB_DB_SEQNUM_KEY) + 1;
|
||||
|
||||
data.dsize = sizeof(new_seqnum);
|
||||
data.dptr = talloc_size(tmp_ctx, data.dsize);
|
||||
|
Loading…
Reference in New Issue
Block a user