diff options
author | Günther Deschner <gd@samba.org> | 2009-09-07 11:56:10 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-07 11:57:10 +0200 |
commit | 1c2f4919abe99d07540b7380ad16d475d62aa50b (patch) | |
tree | 3d0760a88af499ddb3a4c3ceabf66242cbb22e43 /lib | |
parent | 7ce01743c1a2a51c9e212bc612024862c4d53559 (diff) | |
download | samba-1c2f4919abe99d07540b7380ad16d475d62aa50b.tar.gz samba-1c2f4919abe99d07540b7380ad16d475d62aa50b.tar.bz2 samba-1c2f4919abe99d07540b7380ad16d475d62aa50b.zip |
tdb: fix c++ build warning.
Guenther
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tdb/common/tdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/common/tdb.c b/lib/tdb/common/tdb.c index b78f74cc69..9b4b9c4f1b 100644 --- a/lib/tdb/common/tdb.c +++ b/lib/tdb/common/tdb.c @@ -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; |