diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-04-28 14:01:02 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-04-28 14:01:02 +0000 |
commit | 63602d15afe96206e1fdcea4d2b9014582aa41aa (patch) | |
tree | 47e1baa898afbf0f8894d0daef768367c942f271 /source3/passdb | |
parent | 3c71214d47313e96baedf7b9a27507bc21eed01a (diff) | |
download | samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.tar.gz samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.tar.bz2 samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.zip |
- fixed some compiler warnings
- fixed slprintf and vsprintf macros
(This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 6636285b6f..0e0f9908dc 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -108,7 +108,8 @@ void pdb_init_sam(SAM_ACCOUNT *user) ZERO_STRUCTP(user); user->mem_ctx = talloc_init(); - DEBUG(10, ("pdb_init_sam: obtained a talloc context of 0x%x\n", user->mem_ctx)); + DEBUG(10, ("pdb_init_sam: obtained a talloc context of 0x%x\n", + (unsigned)user->mem_ctx)); user->logon_time = (time_t)0; user->logoff_time = (time_t)-1; @@ -134,7 +135,7 @@ void pdb_clear_sam(SAM_ACCOUNT *user) return; /* free upany memory used */ - DEBUG(10, ("pdb_clear_sam: releasing memory. talloc context is 0x%x\n",user->mem_ctx)); + DEBUG(10, ("pdb_clear_sam: releasing memory. talloc context is 0x%x\n",(unsigned)user->mem_ctx)); talloc_destroy (user->mem_ctx); /* now initialize */ |