VirtualBox

Ignore:
Timestamp:
Aug 2, 2012 3:30:49 PM (12 years ago)
Author:
vboxsync
Message:

warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp

    r42369 r42548  
    908908    }
    909909    memcpy(&pDis->abInstr[offInstr], &g_pbImg[offBios], cbToRead);
    910     pDis->cbCachedInstr = offInstr + cbToRead;
     910    pDis->cbCachedInstr = (uint8_t)(offInstr + cbToRead);
    911911    return VINF_SUCCESS;
    912912}
     
    10941094    /* Final gap. */
    10951095    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));
    10971097    else if (uFlatAddr > g_uBiosFlatBase + g_cbImg)
    10981098        return RTMsgErrorExit(RTEXITCODE_FAILURE, "Last segment spills beyond 1MB; uFlatAddr=%#x\n", uFlatAddr);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette