mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[BOOTLIB]
Fix some invalid sizeof() usage svn path=/trunk/; revision=70996
This commit is contained in:
parent
49a077dc61
commit
6c63754861
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue