[ros-diffs] [hpoussin] 27398: ZeroMemory the correct amount of bytes

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Thu Jul 5 09:05:06 CEST 2007


Author: hpoussin
Date: Thu Jul  5 11:05:05 2007
New Revision: 27398

URL: http://svn.reactos.org/svn/reactos?rev=27398&view=rev
Log:
ZeroMemory the correct amount of bytes

Modified:
    trunk/reactos/drivers/input/kbdclass/kbdclass.c

Modified: trunk/reactos/drivers/input/kbdclass/kbdclass.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/kbdclass/kbdclass.c?rev=27398&r1=27397&r2=27398&view=diff
==============================================================================
--- trunk/reactos/drivers/input/kbdclass/kbdclass.c (original)
+++ trunk/reactos/drivers/input/kbdclass/kbdclass.c Thu Jul  5 11:05:05 2007
@@ -695,7 +695,7 @@
 	}
 
 	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;




More information about the Ros-diffs mailing list