Fix VS2005 build error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7181 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2009-01-05 02:20:16 +00:00
parent 54cdf471a0
commit 779808545d
6 changed files with 15 additions and 13 deletions

View File

@ -468,6 +468,7 @@ SaveOverridesMapping (
// ItemIndex now points to the next PLATFORM_OVERRIDE_ITEM which is not covered by VariableNeededSize
//
VariableBuffer = AllocateZeroPool (VariableNeededSize);
ASSERT (VariableBuffer != NULL);
ASSERT ((UINTN) VariableBuffer % sizeof(UINTN) == 0);
//