samba-cvs.cvs
[Top] [All Lists]

Re: svn commit: samba r21530 - in branches: SAMBA_3_0/source/nsswitch SA

Subject: Re: svn commit: samba r21530 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_25/source/nsswitch
From: "Stefan (metze) Metzmacher"
Date: Sun, 25 Feb 2007 11:30:53 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jra@xxxxxxxxx schrieb:
> 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);

:-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFF4WVdm70gjA5TCD8RAkqIAKCUaAI5A0P8Bqd75Wjcu0rgndC5TwCeKztf
5tIGJxE5YNj8t8D/9dqq7/0=
=9TQs
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>