diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-04-16 14:30:43 +0200 |
---|---|---|
committer | Matt Dew <marcoz@osource.org> | 2013-05-30 18:08:27 -0600 |
commit | bcc8eba00b57a63255e05bf80bad0cb95a5a5c3e (patch) | |
tree | e4de7778544c52933af0660c5c2cb4c865a1566c | |
parent | a01839e8d3675abfef871a42415779961f1ee51c (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>
-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; |