diff --git a/source/passdb/secrets.c b/source/passdb/secrets.c index c96f38694ae..3af4b0f36fa 100644 --- a/source/passdb/secrets.c +++ b/source/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; }