diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-04-16 14:30:43 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-04-23 17:43:31 +1000 |
commit | d8d3c78b6ebdf63836951d2dbd2d3d621ff26da2 (patch) | |
tree | 153d4172bc82648199195b788f1ca4f1c61bc822 /include/dixstruct.h | |
parent | 7d722796c678532e8c5897c673c43184da353f44 (diff) |
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>
Diffstat (limited to 'include/dixstruct.h')
-rw-r--r-- | include/dixstruct.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dixstruct.h b/include/dixstruct.h index 678481920..aef822ca2 100644 --- a/include/dixstruct.h +++ b/include/dixstruct.h @@ -96,7 +96,7 @@ typedef struct _Client { unsigned int clientGone:1; unsigned int closeDownMode:2; unsigned int clientState:2; - char smart_priority; + signed char smart_priority; short noClientException; /* this client died or needs to be killed */ int priority; ReplySwapPtr pSwapReplyFunc; |