ZeroMemory the correct amount of bytes
authorChristoph von Wittich <christoph_vw@reactos.org>
Thu, 5 Jul 2007 01:24:57 +0000 (01:24 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Thu, 5 Jul 2007 01:24:57 +0000 (01:24 +0000)
svn path=/trunk/; revision=27397

reactos/drivers/input/kbdclass/kbdclass.c

index 8b67899..8800b61 100644 (file)
@@ -695,7 +695,7 @@ ClassAddDevice(
        }
 
        DeviceExtension = (PPORT_DEVICE_EXTENSION)Fdo->DeviceExtension;
-       RtlZeroMemory(DeviceExtension, sizeof(CLASS_DEVICE_EXTENSION));
+       RtlZeroMemory(DeviceExtension, sizeof(PPORT_DEVICE_EXTENSION));
        DeviceExtension->Common.IsClassDO = FALSE;
        DeviceExtension->DeviceObject = Fdo;
        DeviceExtension->PnpState = dsStopped;