aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-14 09:22:37 +0000
committermarha <marha@users.sourceforge.net>2011-03-14 09:22:37 +0000
commit045ac1c8f15841b705aed17269ee68f21971a844 (patch)
treee4a717900fee61cdff0b9ddfdce90865f18dfc68
parentcebd8c3e6e23d15e05c37549231e04e15c99d8c1 (diff)
downloadvcxsrv-045ac1c8f15841b705aed17269ee68f21971a844.tar.gz
vcxsrv-045ac1c8f15841b705aed17269ee68f21971a844.tar.bz2
vcxsrv-045ac1c8f15841b705aed17269ee68f21971a844.zip
Wrong type cast
-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++;
}