diff options
author | Jeremy Allison <jra@samba.org> | 2007-02-25 09:00:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:10 -0500 |
commit | 8e9ce06f350d151c4e96f3df2449b8a6e4ae2068 (patch) | |
tree | 1c04e93d35cdcb9409c2069f4521891ccf8f847f /source3 | |
parent | e972e2967bc4637e73894de040aaab8d293f153d (diff) | |
download | samba-8e9ce06f350d151c4e96f3df2449b8a6e4ae2068.tar.gz samba-8e9ce06f350d151c4e96f3df2449b8a6e4ae2068.tar.bz2 samba-8e9ce06f350d151c4e96f3df2449b8a6e4ae2068.zip |
r21529: Fix warning from bad cast.
Jeremy.
(This used to be commit 34675624e2be886188337a883a6c4a57ef7e3fe3)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd_cred_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cred_cache.c b/source3/nsswitch/winbindd_cred_cache.c index bd2798d68b..e061f150b4 100644 --- a/source3/nsswitch/winbindd_cred_cache.c +++ b/source3/nsswitch/winbindd_cred_cache.c @@ -484,7 +484,7 @@ static NTSTATUS store_memory_creds(struct WINBINDD_MEMORY_CREDS *memcredp, const /* On non-linux platforms, mlock()'d memory must be aligned */ - memcredp->nt_hash = SMB_MEMALIGN_ARRAY(unsigned char*, psize, + memcredp->nt_hash = (unsigned char *)SMB_MEMALIGN_ARRAY(unsigned char*, psize, memcredp->len); if (!memcredp->nt_hash) { return NT_STATUS_NO_MEMORY; |