svn commit: samba r21530 - in branches: SAMBA_3_0/source/nsswitch
SAMBA_3_0_25/source/nsswitch
jra at samba.org
jra at samba.org
Sun Feb 25 09:04:07 GMT 2007
Author: jra
Date: 2007-02-25 09:04:06 +0000 (Sun, 25 Feb 2007)
New Revision: 21530
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21530
Log:
Don't code with jet-lag and Volker looking over your
shoulder.... Correct fix for warning :-)
Jeremy.
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c
branches/SAMBA_3_0_25/source/nsswitch/winbindd_cred_cache.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c 2007-02-25 09:00:37 UTC (rev 21529)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c 2007-02-25 09:04:06 UTC (rev 21530)
@@ -484,7 +484,7 @@
/* 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;
Modified: branches/SAMBA_3_0_25/source/nsswitch/winbindd_cred_cache.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/winbindd_cred_cache.c 2007-02-25 09:00:37 UTC (rev 21529)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd_cred_cache.c 2007-02-25 09:04:06 UTC (rev 21530)
@@ -484,7 +484,7 @@
/* 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;
More information about the samba-cvs
mailing list