git.samba.org
/
jelmer
/
samba3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
447910e
)
r21530: Don't code with jet-lag and Volker looking over your
author
Jeremy Allison
<jra@samba.org>
Sun, 25 Feb 2007 09:04:06 +0000
(09:04 +0000)
committer
Jeremy Allison
<jra@samba.org>
Sun, 25 Feb 2007 09:04:06 +0000
(09:04 +0000)
shoulder.... Correct fix for warning :-)
Jeremy.
source/nsswitch/winbindd_cred_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cred_cache.c
b/source/nsswitch/winbindd_cred_cache.c
index e061f150b4f62e51b326362b928d8649c7bce63a..84c844a9dae49ae9f59860313370a483b1c0453a 100644
(file)
--- 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;