summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-04-07 13:22:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:14 -0500
commit4570f1c52a860d9035e8f49383cf1515699b2471 (patch)
treec28013a406ec17ac929c681e30848db4b056e54a /source3/passdb
parent8710c0ddd2e689aa2191ad5083858b0fc4324bac (diff)
downloadsamba-4570f1c52a860d9035e8f49383cf1515699b2471.tar.gz
samba-4570f1c52a860d9035e8f49383cf1515699b2471.tar.bz2
samba-4570f1c52a860d9035e8f49383cf1515699b2471.zip
r22125: Fix a warning
(This used to be commit 1c0ceb5fe217bd7210072869a1313c7ac67ff118)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/secrets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index c96f38694a..3af4b0f36f 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -105,7 +105,7 @@ BOOL secrets_store(const char *key, const void *data, size_t size)
if (!tdb)
return False;
return tdb_trans_store(tdb, string_tdb_data(key),
- make_tdb_data(data, size),
+ make_tdb_data((uint8 *)data, size),
TDB_REPLACE) == 0;
}