[PATCH 1/2] Xext: don't swap CARD8 in SProcSELinuxQueryVersion
Julien Cristau
jcristau at debian.org
Wed Nov 9 10:46:58 PST 2011
On Wed, Nov 9, 2011 at 15:34:37 +1000, Peter Hutterer wrote:
> xselinux_ext.c: In function 'SELinuxSendItemsToClient':
> xselinux_ext.c:340:16: warning: unused variable 'n' [-Wunused-variable]
> xselinux_ext.c: In function 'SProcSELinuxQueryVersion':
> xselinux_ext.c:532:62: error: call to 'wrong_size' declared with attribute
> error: wrong sized variable passed to swap
> xselinux_ext.c:533:62: error: call to 'wrong_size' declared with attribute
> error: wrong sized variable passed to swap
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Xext/xselinux_ext.c | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)
>
On Wed, Nov 9, 2011 at 15:34:38 +1000, Peter Hutterer wrote:
> xselinux_ext.c: In function 'SELinuxSendItemsToClient':
> xselinux_ext.c:340:16: warning: unused variable 'n' [-Wunused-variable]
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Xext/xselinux_ext.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
Both
Reviewed-by: Julien Cristau <jcristau at debian.org>
Cheers,
Julien
More information about the xorg-devel
mailing list