VirtualBox

Changeset 30224 in vbox


Ignore:
Timestamp:
Jun 16, 2010 1:55:46 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62710
Message:

Devices: three size_t warnings.

Location:
trunk/src/VBox/Devices
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/UsbKbd.cpp

    r29749 r30224  
    589589
    590590    pUrb->enmStatus = VUSBSTATUS_OK;
    591     pUrb->cbData    = cbData;
     591    pUrb->cbData    = (uint32_t)cbData;
    592592
    593593    usbHidLinkDone(pThis, pUrb);
  • trunk/src/VBox/Devices/Input/UsbMouse.cpp

    r28800 r30224  
    633633
    634634    pUrb->enmStatus = VUSBSTATUS_OK;
    635     pUrb->cbData    = cbData;
     635    pUrb->cbData    = (uint32_t)cbData;
    636636
    637637    usbHidLinkDone(pThis, pUrb);
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r30111 r30224  
    48294829{
    48304830    unsigned cSGEntry = 0;
    4831     int cbCopied = 0;
     4831    size_t cbCopied = 0;
    48324832    PRTSGSEG pSGEntry = &pAhciPortTaskState->pSGListHead[cSGEntry];
    48334833    uint8_t *pu8Buf = (uint8_t *)pvBuf;
Note: See TracChangeset for help on using the changeset viewer.

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