mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4076 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
db01f13e00
commit
23bd66f425
@ -2113,7 +2113,7 @@ ReadConfigData (
|
|||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
Stride = 1 << AccessWidth;
|
Stride = (UINTN)1 << AccessWidth;
|
||||||
AccessAddress += Stride;
|
AccessAddress += Stride;
|
||||||
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
|
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
|
||||||
//
|
//
|
||||||
@ -2380,7 +2380,7 @@ WriteConfigData (
|
|||||||
|
|
||||||
Data = RShiftU64 (Data, ((1 << AccessWidth) * 8));
|
Data = RShiftU64 (Data, ((1 << AccessWidth) * 8));
|
||||||
|
|
||||||
Stride = 1 << AccessWidth;
|
Stride = (UINTN)1 << AccessWidth;
|
||||||
AccessAddress += Stride;
|
AccessAddress += Stride;
|
||||||
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
|
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user