1 From a095f5005be66c1b9747187e91e5332b0d8b106b Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3 Date: Tue, 16 Apr 2013 13:47:22 +0200
4 Subject: [xserver 1.14/master] dixstruct.h: fix segfaults - char is unsigned
5 for ARM and PowerPC architectures
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 see ARM related bug reports [1-3]
12 Upstream-Status: Submitted [4]
14 [1] https://github.com/archlinuxarm/PKGBUILDs/issues/446I
15 [2] http://www.raspberrypi.org/phpBB3/viewtopic.php?t=38568&p=321673
16 [3] http://lists.linuxtogo.org/pipermail/openembedded-core/2013-April/037805.html
17 [4] http://lists.x.org/archives/xorg-devel/2013-April/036010.html
19 Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
21 include/dixstruct.h | 2 +-
22 1 files changed, 1 insertions(+), 1 deletions(-)
24 diff --git a/include/dixstruct.h b/include/dixstruct.h
25 index 6784819..aef822c 100644
26 --- a/include/dixstruct.h
27 +++ b/include/dixstruct.h
28 @@ -96,7 +96,7 @@ typedef struct _Client {
29 unsigned int clientGone:1;
30 unsigned int closeDownMode:2;
31 unsigned int clientState:2;
32 - char smart_priority;
33 + signed char smart_priority;
34 short noClientException; /* this client died or needs to be killed */
36 ReplySwapPtr pSwapReplyFunc;