aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xorg-server/xkb/xkbInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/xkb/xkbInit.c b/xorg-server/xkb/xkbInit.c
index e71032992..90f7d8888 100644
--- a/xorg-server/xkb/xkbInit.c
+++ b/xorg-server/xkb/xkbInit.c
@@ -735,7 +735,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++;
}