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 | 0768991d04ea03e774ca8662c9cae5e1951b88e0 (patch) | |
tree | aa9fba2c42010016abc7bc10f0f98d42774e9987 /source/passdb/secrets.c | |
parent | 031a19639ce862bd01c1a72d8b5ff21b0eae99d2 (diff) | |
download | samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.tar.gz samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.tar.xz samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.zip |
get rid of compiler warnings
Diffstat (limited to 'source/passdb/secrets.c')
-rw-r--r-- | source/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/secrets.c b/source/passdb/secrets.c index d95810bf611..3b2d0b8d4bd 100644 --- a/source/passdb/secrets.c +++ b/source/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)); } |