From 1cf915a07762132ce0f85787d5cc43e55252ddfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 5 Jul 2007 07:05:05 +0000 Subject: [PATCH] ZeroMemory the correct amount of bytes svn path=/trunk/; revision=27398 --- reactos/drivers/input/kbdclass/kbdclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/input/kbdclass/kbdclass.c b/reactos/drivers/input/kbdclass/kbdclass.c index 8800b61046a..0b84940a286 100644 --- a/reactos/drivers/input/kbdclass/kbdclass.c +++ b/reactos/drivers/input/kbdclass/kbdclass.c @@ -695,7 +695,7 @@ ClassAddDevice( } DeviceExtension = (PPORT_DEVICE_EXTENSION)Fdo->DeviceExtension; - RtlZeroMemory(DeviceExtension, sizeof(PPORT_DEVICE_EXTENSION)); + RtlZeroMemory(DeviceExtension, sizeof(PORT_DEVICE_EXTENSION)); DeviceExtension->Common.IsClassDO = FALSE; DeviceExtension->DeviceObject = Fdo; DeviceExtension->PnpState = dsStopped;