projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1de4fb
)
[SYSDM]
author
Thomas Faber
<thomas.faber@reactos.org>
Sat, 4 Feb 2017 17:27:49 +0000
(17:27 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sat, 4 Feb 2017 17:27:49 +0000
(17:27 +0000)
- Fix wrong sizeof expression in DeleteHardwareProfile. CID
1322188
svn path=/trunk/; revision=73676
reactos/dll/cpl/sysdm/hardprof.c
patch
|
blob
|
history
diff --git
a/reactos/dll/cpl/sysdm/hardprof.c
b/reactos/dll/cpl/sysdm/hardprof.c
index
c606495
..
2a47ec3
100644
(file)
--- 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(P
P
ROFILE));
+ (pProfileData->dwProfileCount - pProfileData->dwSelectedProfileIndex - 1) * sizeof(PROFILE));
}
else
{