From: Thomas Faber Date: Sat, 4 Feb 2017 17:27:49 +0000 (+0000) Subject: [SYSDM] X-Git-Tag: ReactOS-0.4.4-CLT2017~406 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=b001a719b75e39108fc2329d9df858cce8bfede0 [SYSDM] - Fix wrong sizeof expression in DeleteHardwareProfile. CID 1322188 svn path=/trunk/; revision=73676 --- diff --git a/reactos/dll/cpl/sysdm/hardprof.c b/reactos/dll/cpl/sysdm/hardprof.c index c6064954fe6..2a47ec3d244 100644 --- a/reactos/dll/cpl/sysdm/hardprof.c +++ b/reactos/dll/cpl/sysdm/hardprof.c @@ -327,7 +327,7 @@ DeleteHardwareProfile( { RtlMoveMemory(&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex], &pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex + 1], - (pProfileData->dwProfileCount - pProfileData->dwSelectedProfileIndex - 1) * sizeof(PPROFILE)); + (pProfileData->dwProfileCount - pProfileData->dwSelectedProfileIndex - 1) * sizeof(PROFILE)); } else {