[BOOTLIB]

Fix some invalid sizeof() usage

svn path=/trunk/; revision=70996
This commit is contained in:
Pierre Schweitzer 2016-03-12 17:01:39 +00:00
parent 49a077dc61
commit 6c63754861

View file

@ -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 */