[SCM] Samba Shared Repository - sizof(enum) == sizeof(int)

Andreas Schneider asn at samba.org
Tue Aug 17 05:53:50 MDT 2010


On Tuesday 17 August 2010 13:40:08 you wrote:
> Am 17.08.2010 12:54, schrieb Andreas Schneider:
> > On Tuesday 17 August 2010 11:52:40 you wrote:
> >> On Tue, Aug 17, 2010 at 04:45:22AM -0500, Andreas Schneider wrote:
> >>>  	types.count = num_rids;
> >>> 
> >>> -	types.ids = type;
> >>> +	types.ids = (uint32_t *) type;
> 
> why do we use 'samr_Ids' for types at all?

Hi metze,

this is a good question.
 
> would be something like the attached patch be better?

Yes, introduing samr_Types looks like the overall correct solution.

> metze

	-- andreas



More information about the samba-technical mailing list