Changeset 42548 in vbox for trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp
- Timestamp:
- Aug 2, 2012 3:30:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp
r42369 r42548 908 908 } 909 909 memcpy(&pDis->abInstr[offInstr], &g_pbImg[offBios], cbToRead); 910 pDis->cbCachedInstr = offInstr + cbToRead;910 pDis->cbCachedInstr = (uint8_t)(offInstr + cbToRead); 911 911 return VINF_SUCCESS; 912 912 } … … 1094 1094 /* Final gap. */ 1095 1095 if (uFlatAddr < g_uBiosFlatBase + g_cbImg) 1096 fRc = disCopySegmentGap(uFlatAddr, g_uBiosFlatBase + g_cbImg - uFlatAddr);1096 fRc = disCopySegmentGap(uFlatAddr, (uint32_t)(g_uBiosFlatBase + g_cbImg - uFlatAddr)); 1097 1097 else if (uFlatAddr > g_uBiosFlatBase + g_cbImg) 1098 1098 return RTMsgErrorExit(RTEXITCODE_FAILURE, "Last segment spills beyond 1MB; uFlatAddr=%#x\n", uFlatAddr);
Note:
See TracChangeset
for help on using the changeset viewer.