summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 3d0ba7ddf..0ba239107 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -604,7 +604,7 @@ win32_kbd_patch_key(
if (pker->AChar != 0)
return 1;
- memset(abKeystate, 0, sizeof (abKeystate));
+ vim_memset(abKeystate, 0, sizeof (abKeystate));
// Should only be non-NULL on NT 4.0
if (s_pfnGetConsoleKeyboardLayoutName != NULL)