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: 's avatarMatt Turner <mattst88@gmail.com>
Reviewed-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f4b78286
......@@ -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++;
}
......
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