Chris Rutter writes:
> struct foo {
> int x, y;
> char col;
> } pixel;
>
> pixel pixelarray[1024];
That structure should still be 12 bytes long, since the largest element
is 4 bytes, the alignment of the ints should be preserved in all cases.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
- alignment problems Xavier DEBREUIL
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Michael Nonweiler
- Re: alignment problems David Rusling
- Re: alignment problems Jonathan P . Olson
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Philip Blundell
- Re: alignment problems Chris Rutter
- Re: alignment problems Philip Blundell
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Philip Blundell
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Philip Blundell
