diff options
author | Herb Lewis <herb@samba.org> | 2001-08-24 20:32:01 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-08-24 20:32:01 +0000 |
commit | 717533483b41ef975953f58e0c6be04828a3d467 (patch) | |
tree | 1eba76475bd03c51e9d2d2f840634517297d0024 /source3/passdb | |
parent | b9e7eeaf4fc13fb9e2dbee69e07bc6800f6e427a (diff) | |
download | samba-717533483b41ef975953f58e0c6be04828a3d467.tar.gz samba-717533483b41ef975953f58e0c6be04828a3d467.tar.bz2 samba-717533483b41ef975953f58e0c6be04828a3d467.zip |
get rid of compiler warnings
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index d95810bf61..3b2d0b8d4b 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -189,7 +189,7 @@ void reset_globals_after_fork(void) if (tdb) { uint32 initial_val = sys_getpid(); - tdb_change_int_atomic(tdb, "INFO/random_seed", &initial_val, 1); + tdb_change_int_atomic(tdb, "INFO/random_seed", (int *)&initial_val, 1); set_rand_reseed_data((unsigned char *)&initial_val, sizeof(initial_val)); } |