summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_cred_cache.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-02-25 09:04:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:10 -0500
commit773001870d22ef4ff7ec00f73661b59a63cade42 (patch)
tree5fa932bd8e869aaf9aaff6896650f03c33a0c9a5 /source/nsswitch/winbindd_cred_cache.c
parent34675624e2be886188337a883a6c4a57ef7e3fe3 (diff)
downloadsamba-773001870d22ef4ff7ec00f73661b59a63cade42.tar.gz
samba-773001870d22ef4ff7ec00f73661b59a63cade42.tar.xz
samba-773001870d22ef4ff7ec00f73661b59a63cade42.zip
r21530: Don't code with jet-lag and Volker looking over your
shoulder.... Correct fix for warning :-) Jeremy.
Diffstat (limited to 'source/nsswitch/winbindd_cred_cache.c')
-rw-r--r--source/nsswitch/winbindd_cred_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_cred_cache.c b/source/nsswitch/winbindd_cred_cache.c
index e061f150b4f..84c844a9dae 100644
--- a/source/nsswitch/winbindd_cred_cache.c
+++ b/source/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 = (unsigned char *)SMB_MEMALIGN_ARRAY(unsigned char*, psize,
+ memcredp->nt_hash = SMB_MEMALIGN_ARRAY(unsigned char, psize,
memcredp->len);
if (!memcredp->nt_hash) {
return NT_STATUS_NO_MEMORY;