VirtualBox

Changeset 18434 in vbox for trunk/src


Ignore:
Timestamp:
Mar 28, 2009 2:19:08 AM (16 years ago)
Author:
vboxsync
Message:

pdmifs.h,DevATA,ATAController,DrvHostDVD: Changed the pcbBuf parameter of PDMIBLOCK::pfnSendCmd from size_t to uint32_t pointer to avoid a bunch of size_t conversion warnings.

Location:
trunk/src/VBox/Devices/Storage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r18193 r18434  
    18291829    int rc = VINF_SUCCESS;
    18301830    uint8_t abATAPISense[ATAPI_SENSE_SIZE];
    1831     size_t cbTransfer;
     1831    uint32_t cbTransfer;
    18321832    PSTAMPROFILEADV pProf = NULL;
    18331833
     
    18621862         * imbalance of powers. */
    18631863        uint8_t aATAPICmd[ATAPI_PACKET_SIZE];
    1864         uint32_t iATAPILBA, cSectors, cReqSectors;
    1865         size_t cbCurrTX;
     1864        uint32_t iATAPILBA, cSectors, cReqSectors, cbCurrTX;
    18661865        uint8_t *pbBuf = s->CTX_SUFF(pbIOBuffer);
    18671866
  • trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp

    r18087 r18434  
    399399/** @copydoc PDMIBLOCK::pfnSendCmd */
    400400static int drvHostDvdSendCmd(PPDMIBLOCK pInterface, const uint8_t *pbCmd,
    401                              PDMBLOCKTXDIR enmTxDir, void *pvBuf, size_t *pcbBuf,
     401                             PDMBLOCKTXDIR enmTxDir, void *pvBuf, uint32_t *pcbBuf,
    402402                             uint8_t *pabSense, size_t cbSense, uint32_t cTimeoutMillies)
    403403{
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