Commit 5cdfcdef authored by Matt Turner's avatar Matt Turner Committed by Peter Hutterer

xkb: Correct type of XkbDfltAccessXOptions.

Declared as unsigned short in xkb/xkbAccessX.c.
Signed-off-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f4b78286
...@@ -737,7 +737,7 @@ extern int XkbDfltRepeatInterval; ...@@ -737,7 +737,7 @@ extern int XkbDfltRepeatInterval;
extern unsigned short XkbDfltAccessXTimeout; extern unsigned short XkbDfltAccessXTimeout;
extern unsigned int XkbDfltAccessXTimeoutMask; extern unsigned int XkbDfltAccessXTimeoutMask;
extern unsigned int XkbDfltAccessXFeedback; extern unsigned int XkbDfltAccessXFeedback;
extern unsigned char XkbDfltAccessXOptions; extern unsigned short XkbDfltAccessXOptions;
int int
XkbProcessArguments(int argc, char *argv[], int i) XkbProcessArguments(int argc, char *argv[], int i)
...@@ -798,7 +798,7 @@ XkbProcessArguments(int argc, char *argv[], int i) ...@@ -798,7 +798,7 @@ XkbProcessArguments(int argc, char *argv[], int i)
j++; j++;
} }
if (((i + 1) < argc) && (isdigit(argv[i + 1][0]))) { if (((i + 1) < argc) && (isdigit(argv[i + 1][0]))) {
XkbDfltAccessXOptions = (unsigned char) XkbDfltAccessXOptions = (unsigned short)
strtol(argv[++i], NULL, 16); strtol(argv[++i], NULL, 16);
j++; j++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment