projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a077d
)
[BOOTLIB]
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 12 Mar 2016 17:01:39 +0000
(17:01 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 12 Mar 2016 17:01:39 +0000
(17:01 +0000)
Fix some invalid sizeof() usage
svn path=/trunk/; revision=70996
reactos/boot/environ/lib/misc/image.c
patch
|
blob
|
history
diff --git
a/reactos/boot/environ/lib/misc/image.c
b/reactos/boot/environ/lib/misc/image.c
index
fd51887
..
42c194e
100644
(file)
--- a/
reactos/boot/environ/lib/misc/image.c
+++ b/
reactos/boot/environ/lib/misc/image.c
@@
-1456,7
+1456,7
@@
BlImgLoadBootApplication (
}
/* Zero it out */
- RtlZeroMemory(AppEntry, sizeof(AppEntry));
+ RtlZeroMemory(AppEntry, sizeof(
*
AppEntry));
/* Initialize it */
strcpy(AppEntry->Signature, "BTAPENT");
@@
-1493,7
+1493,7
@@
BlImgLoadBootApplication (
}
/* Zero out the entries for now */
- RtlZeroMemory(IapImageTable,
sizeof(IapTableEntries * sizeof(PVOID)
));
+ RtlZeroMemory(IapImageTable,
IapTableEntries * sizeof(PVOID
));
}
/* Set this entry into the table */