mirror of https://github.com/acidanthera/audk.git
Add the missing (UINTN) type cast when calculating the end of variable store.
Signed-off-by: niruiyu Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12672 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
72861c22e5
commit
fb849d0dc0
|
@ -268,7 +268,7 @@ GetEndPointer (
|
||||||
//
|
//
|
||||||
// The end of variable store
|
// The end of variable store
|
||||||
//
|
//
|
||||||
return (VARIABLE_HEADER *) HEADER_ALIGN (VolHeader + VolHeader->Size);
|
return (VARIABLE_HEADER *) HEADER_ALIGN ((UINTN) VolHeader + VolHeader->Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue