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

reactos/drivers/input/mouclass/mouclass.c

index a6b6ed4..a49074b 100644 (file)
@@ -671,7 +671,7 @@ ClassAddDevice(
        }
 
        DeviceExtension = (PPORT_DEVICE_EXTENSION)Fdo->DeviceExtension;
-       RtlZeroMemory(DeviceExtension, sizeof(CLASS_DEVICE_EXTENSION));
+       RtlZeroMemory(DeviceExtension, sizeof(PORT_DEVICE_EXTENSION));
        DeviceExtension->Common.IsClassDO = FALSE;
        DeviceExtension->DeviceObject = Fdo;
        DeviceExtension->PnpState = dsStopped;