summaryrefslogtreecommitdiff
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
commit3f3a3a23ceadb954a7bc2cb42da131d11be6af19 (patch)
tree5fb1c4403d6d20e26cb50b0faad74bcfccdda419
parent8e9ce06f350d151c4e96f3df2449b8a6e4ae2068 (diff)
downloadsamba-3f3a3a23ceadb954a7bc2cb42da131d11be6af19.tar.gz
samba-3f3a3a23ceadb954a7bc2cb42da131d11be6af19.tar.bz2
samba-3f3a3a23ceadb954a7bc2cb42da131d11be6af19.zip
r21530: Don't code with jet-lag and Volker looking over your
shoulder.... Correct fix for warning :-) Jeremy. (This used to be commit 773001870d22ef4ff7ec00f73661b59a63cade42)
-rw-r--r--source3/nsswitch/winbindd_cred_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cred_cache.c b/source3/nsswitch/winbindd_cred_cache.c
index e061f150b4..84c844a9da 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 = (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;