dixstruct.h: fix segfaults - char is unsigned for ARM and PowerPC architectures
see ARM related bug reports [1-3] [1] https://github.com/archlinuxarm/PKGBUILDs/issues/446I [2] http://www.raspberrypi.org/phpBB3/viewtopic.php?t=38568&p=321673 [3] http://lists.linuxtogo.org/pipermail/openembedded-core/2013-April/037805.html Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7d722796c6
commit
d8d3c78b6e
|
@ -96,7 +96,7 @@ typedef struct _Client {
|
||||||
unsigned int clientGone:1;
|
unsigned int clientGone:1;
|
||||||
unsigned int closeDownMode:2;
|
unsigned int closeDownMode:2;
|
||||||
unsigned int clientState:2;
|
unsigned int clientState:2;
|
||||||
char smart_priority;
|
signed char smart_priority;
|
||||||
short noClientException; /* this client died or needs to be killed */
|
short noClientException; /* this client died or needs to be killed */
|
||||||
int priority;
|
int priority;
|
||||||
ReplySwapPtr pSwapReplyFunc;
|
ReplySwapPtr pSwapReplyFunc;
|
||||||
|
|
Loading…
Reference in New Issue