mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
tdb: fix c++ build warning.
Guenther
This commit is contained in:
parent
7ce01743c1
commit
1c2f4919ab
@ -819,9 +819,9 @@ struct traverse_state {
|
||||
/*
|
||||
traverse function for repacking
|
||||
*/
|
||||
static int repack_traverse(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, void *private)
|
||||
static int repack_traverse(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, void *private_data)
|
||||
{
|
||||
struct traverse_state *state = (struct traverse_state *)private;
|
||||
struct traverse_state *state = (struct traverse_state *)private_data;
|
||||
if (tdb_store(state->dest_db, key, data, TDB_INSERT) != 0) {
|
||||
state->error = true;
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user