svn commit: samba r3971 - in branches/SAMBA_4_0/source: client libcli/auth libcli/raw ntvfs/print passdb smb_server torture/basic

Stefan (metze) Metzmacher metze at samba.org
Fri Nov 26 06:04:58 GMT 2004


tridge at samba.org schrieb:
> Andrew,
> 
>  > >  			s = va_arg(ap, char *);
>  > > -			pointers[i].data = s;
>  > > +			pointers[i].data = (void *)s;
>  > >  			pointers[i].length = strlen(s)+1;
>  > >  			head_size += pointers[i].length;
>  > >  			break;
>  > 
>  > a cast to void doesn't quite seem right here.  DATA_BLOB.data is
>  > uint8_t, so shouldn't this be a uint8_t cast?  
> 
> you're right about this one

yep, sorry I thought data_blob has void *, I'll review my last commits and change the casts to uint8_t *



-- 
metze

Stefan Metzmacher <metze at samba.org> www.samba.org


More information about the samba-technical mailing list