aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winconfig.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-28 19:34:41 +0000
committermarha <marha@users.sourceforge.net>2010-02-28 19:34:41 +0000
commitfedd99993946dd8fc22b60e3611e447f3b8092ca (patch)
treef1486f18c003876c504227d5c2fc602371524aba /xorg-server/hw/xwin/winconfig.c
parent94399647b31b4d87cc009954dd213475993a9011 (diff)
parent1ad46cbf3a9963f3d6d8c687480a80d359ec15f8 (diff)
downloadvcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.gz
vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.bz2
vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/hw/xwin/winconfig.c')
-rw-r--r--xorg-server/hw/xwin/winconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winconfig.c b/xorg-server/hw/xwin/winconfig.c
index c2a0ef7ec..c3b9dcc35 100644
--- a/xorg-server/hw/xwin/winconfig.c
+++ b/xorg-server/hw/xwin/winconfig.c
@@ -328,7 +328,7 @@ winConfigKeyboard (DeviceIntPtr pDevice)
const char regtempl[] =
"SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts\\";
char *regpath;
- char lname[256];
+ unsigned char lname[256];
DWORD namesize = sizeof(lname);
regpath = malloc(sizeof(regtempl) + KL_NAMELENGTH + 1);