mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
dbwrap_tdb2: fix a C++ warning by making implicit cast explicit
Michael
(This used to be commit 18ced7e420
)
This commit is contained in:
parent
98abf71ff5
commit
3aa565e790
@ -569,9 +569,9 @@ static void db_tdb2_queue_change(struct db_tdb2_ctx *db_ctx, const TDB_DATA key)
|
||||
}
|
||||
db_ctx->changes.keys = keys;
|
||||
|
||||
keys[db_ctx->changes.num_keys].data = talloc_memdup(keys,
|
||||
key.dptr,
|
||||
key.dsize);
|
||||
keys[db_ctx->changes.num_keys].data = (uint8_t *)talloc_memdup(keys,
|
||||
key.dptr,
|
||||
key.dsize);
|
||||
if (!keys[db_ctx->changes.num_keys].data) {
|
||||
goto overflow;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user