Author: tfaber Date: Sat Feb 4 17:27:49 2017 New Revision: 73676
URL: http://svn.reactos.org/svn/reactos?rev=73676&view=rev Log: [SYSDM] - Fix wrong sizeof expression in DeleteHardwareProfile. CID 1322188
Modified: trunk/reactos/dll/cpl/sysdm/hardprof.c
Modified: trunk/reactos/dll/cpl/sysdm/hardprof.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardprof.c?re... ============================================================================== --- trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] Sat Feb 4 17:27:49 2017 @@ -327,7 +327,7 @@ { 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 {