VirtualBox

Changeset 41771 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 15, 2012 8:08:45 PM (13 years ago)
Author:
vboxsync
Message:

Windows build fixes.

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CSAM.cpp

    r41769 r41771  
    746746        if (cbRead >= cbMinRead)
    747747        {
    748             pDis->cbCachedInstr = offInstr + cbRead;
     748            pDis->cbCachedInstr = offInstr + (uint8_t)cbRead;
    749749            return rc;
    750750        }
    751751
    752         cbMinRead -= cbRead;
    753         cbMaxRead -= cbRead;
    754         offInstr  += cbRead;
     752        cbMinRead -= (uint8_t)cbRead;
     753        cbMaxRead -= (uint8_t)cbRead;
     754        offInstr  += (uint8_t)cbRead;
    755755        uSrcAddr  += cbRead;
    756756    }
  • trunk/src/VBox/VMM/VMMR3/PATM.cpp

    r41770 r41771  
    556556            if (cbRead >= cbMinRead)
    557557            {
    558                 pDis->cbCachedInstr = offInstr + cbRead;
     558                pDis->cbCachedInstr = offInstr + (uint8_t)cbRead;
    559559                return VINF_SUCCESS;
    560560            }
    561561
    562             cbMinRead -= cbRead;
    563             cbMaxRead -= cbRead;
    564             offInstr  += cbRead;
     562            cbMinRead -= (uint8_t)cbRead;
     563            cbMaxRead -= (uint8_t)cbRead;
     564            offInstr  += (uint8_t)cbRead;
    565565            uSrcAddr  += cbRead;
    566566        }
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