Author: pschweitzer
Date: Sun Feb 6 13:05:45 2011
New Revision: 50611
URL:
http://svn.reactos.org/svn/reactos?rev=50611&view=rev
Log:
[NTOSKRNL/PPC]
Fix sizeof() wrong usage
Modified:
trunk/reactos/ntoskrnl/ke/powerpc/cpu.c
Modified: trunk/reactos/ntoskrnl/ke/powerpc/cpu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/powerpc/cpu.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/powerpc/cpu.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/powerpc/cpu.c [iso-8859-1] Sun Feb 6 13:05:45 2011
@@ -44,7 +44,7 @@
CPUID(IN ULONG CpuInfo[4],
IN ULONG InfoType)
{
- RtlZeroMemory(CpuInfo, sizeof(CpuInfo));
+ RtlZeroMemory(CpuInfo, sizeof(CpuInfo) * sizeof(ULONG));
}
VOID