usbatm cxacru.c,1.18,1.19

Roman Kagan rkagan at
Fri Mar 4 09:08:38 EST 2005

On Fri, Mar 04, 2005 at 03:01:28PM +0100, Duncan Sands wrote:
> > > +	u16 signature[] = { usb_dev->descriptor.idVendor, usb_dev->descriptor.idProduct };
> What if the compiler aligns the array elements on 32 bit boundaries?
> I don't know if gcc does that, or what the standard has to say.

I thought arrays of builtin types were guaranteed to be contigous.  I'll
check with the docs to be certain.


More information about the Usbatm mailing list