svn commit: samba r21529 - 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:00:38 GMT 2007
Author: jra
Date: 2007-02-25 09:00:37 +0000 (Sun, 25 Feb 2007)
New Revision: 21529
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21529
Log:
Fix warning from bad cast.
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-24 18:57:29 UTC (rev 21528)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c 2007-02-25 09:00:37 UTC (rev 21529)
@@ -484,7 +484,7 @@
/* 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;
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-24 18:57:29 UTC (rev 21528)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd_cred_cache.c 2007-02-25 09:00:37 UTC (rev 21529)
@@ -484,7 +484,7 @@
/* 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;
More information about the samba-cvs
mailing list