Fixed NT32 Build break.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4064 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
AJFISH 2007-10-09 19:38:25 +00:00
parent 042400ab9e
commit 6deef76382
1 changed files with 2 additions and 2 deletions

View File

@ -2115,7 +2115,7 @@ ReadConfigData (
Stride = 1 << AccessWidth;
AccessAddress += Stride;
if (AccessAddress >= (Address + (1ULL << Width))) {
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
//
// if all datas have been read, exist
//
@ -2382,7 +2382,7 @@ WriteConfigData (
Stride = 1 << AccessWidth;
AccessAddress += Stride;
if (AccessAddress >= (Address + (1ULL << Width))) {
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
//
// if all datas have been written, exist
//