mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
042400ab9e
commit
6deef76382
@ -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
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user