[PATCH v2] dix: Fix image byte order on big endian hardware

Adam Jackson ajax at redhat.com
Fri Apr 24 13:34:59 PDT 2015


On Fri, 2015-04-10 at 10:07 +0200, Olivier Fourdan wrote:
> Make sure X_BIG_ENDIAN/X_LITTLE_ENDIAN are defined before actually using
> them.
> 
> Otherwise, image byte order could be wrong on big endian hardware even
> though endianess detection is correct.
> 
> Reported-by: Tim Waugh <twaugh at redhat.com>
> Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax



More information about the xorg-devel mailing list