From 684edc9fcd73d9c2059d018c4b5eb599888cfd8b Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sun, 24 May 1998 13:36:43 +0000 Subject: - created pdb_sethexpwd(), to be called from all pwd apis that need to store passwords in ascii format - dealt with lots of signed/unsigned char thingies spotted by Tim Winders. (This used to be commit bd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25) --- source3/passdb/smbpass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/passdb/smbpass.c') diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index 4d446c65c2..a9efcf2a52 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -253,7 +253,7 @@ static struct smb_passwd *getsmbfilepwent(void *vp) if (*p == '[') { - pw_buf.acct_ctrl = pdb_decode_acct_ctrl(p); + pw_buf.acct_ctrl = pdb_decode_acct_ctrl((char*)p); /* Must have some account type set. */ if(pw_buf.acct_ctrl == 0) @@ -952,5 +952,5 @@ struct passdb_ops *file_initialize_password_db(void) } #else - void dummy_function(void) { } /* stop some compilers complaining */ + static void dummy_function(void) { } /* stop some compilers complaining */ #endif /* USE_SMBPASS_DB */ -- cgit