[PATCH xserver] xkb: Correct type of XkbDfltAccessXOptions.

Peter Hutterer peter.hutterer at who-t.net
Mon Mar 27 03:33:23 UTC 2017


On Thu, Mar 23, 2017 at 07:37:46PM -0700, Matt Turner wrote:
> Declared as unsigned short in xkb/xkbAccessX.c.
> 
> Signed-off-by: Matt Turner <mattst88 at gmail.com>

remote: Updating patchwork state for https://patchwork.freedesktop.org/project/Xorg/list/
remote: I: patch #146187 updated using rev 5cdfcdef819efa6406807254cb3c7aba6ba5475e.
remote: I: 1 patch(es) updated to state Accepted.
To git+ssh://git.freedesktop.org/git/xorg/xserver
   f4b7828..5cdfcde  master -> master

Cheers,
   Peter

> ---
>  xkb/xkbInit.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c
> index 46016ab..9e45b4b 100644
> --- a/xkb/xkbInit.c
> +++ b/xkb/xkbInit.c
> @@ -737,7 +737,7 @@ extern int XkbDfltRepeatInterval;
>  extern unsigned short XkbDfltAccessXTimeout;
>  extern unsigned int XkbDfltAccessXTimeoutMask;
>  extern unsigned int XkbDfltAccessXFeedback;
> -extern unsigned char XkbDfltAccessXOptions;
> +extern unsigned short XkbDfltAccessXOptions;
>  
>  int
>  XkbProcessArguments(int argc, char *argv[], int i)
> @@ -798,7 +798,7 @@ XkbProcessArguments(int argc, char *argv[], int i)
>                      j++;
>                  }
>                  if (((i + 1) < argc) && (isdigit(argv[i + 1][0]))) {
> -                    XkbDfltAccessXOptions = (unsigned char)
> +                    XkbDfltAccessXOptions = (unsigned short)
>                          strtol(argv[++i], NULL, 16);
>                      j++;
>                  }
> -- 
> 2.10.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list