Line | |
---|
1 | Index: OvmfPkg/PlatformPei/MemDetect.c
|
---|
2 | ===================================================================
|
---|
3 | --- OvmfPkg/PlatformPei/MemDetect.c (revision 9332)
|
---|
4 | +++ OvmfPkg/PlatformPei/MemDetect.c (working copy)
|
---|
5 | @@ -53,7 +53,7 @@
|
---|
6 | Cmos0x34 = (UINT8) CmosRead8 (0x34);
|
---|
7 | Cmos0x35 = (UINT8) CmosRead8 (0x35);
|
---|
8 |
|
---|
9 | - return ((((Cmos0x35 << 8) + Cmos0x34) << 16) + SIZE_16MB);
|
---|
10 | + return ((((UINTN)(Cmos0x35 << 8) + Cmos0x34) << 16) + SIZE_16MB);
|
---|
11 | }
|
---|
12 |
|
---|
13 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.