Fix bug that failed to reclaim the variable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4556 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1 2008-01-15 13:02:26 +00:00
parent 130e25699a
commit 77aa51cd89
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ Returns:
// Copy variable store header
//
CopyMem (CurrPtr, VariableStoreHeader, sizeof (VARIABLE_STORE_HEADER));
CurrPtr = (UINT8 *) GetStartPointer (VariableStoreHeader);
CurrPtr = (UINT8 *) GetStartPointer ((VARIABLE_STORE_HEADER *) CurrPtr);
//
// Start Pointers for the variable.