summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-07 11:56:10 +0200
committerGünther Deschner <gd@samba.org>2009-09-07 11:57:10 +0200
commit1c2f4919abe99d07540b7380ad16d475d62aa50b (patch)
tree3d0760a88af499ddb3a4c3ceabf66242cbb22e43 /lib
parent7ce01743c1a2a51c9e212bc612024862c4d53559 (diff)
downloadsamba-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.c4
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;