VirtualBox

Changeset 18444 in vbox for trunk/src


Ignore:
Timestamp:
Mar 28, 2009 3:15:52 AM (16 years ago)
Author:
vboxsync
Message:

DrvHostDVD: size_t again.

File:
1 edited

Legend:

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

    r18434 r18444  
    599599    Req.spt.TimeOutValue = (cTimeoutMillies + 999) / 1000; /* Convert to seconds */
    600600    Assert(cbSense <= sizeof(Req.aSense));
    601     Req.spt.SenseInfoLength = cbSense;
     601    Req.spt.SenseInfoLength = (UCHAR)cbSense;
    602602    Req.spt.SenseInfoOffset = RT_OFFSETOF(struct _REQ, aSense);
    603603    if (DeviceIoControl((HANDLE)pThis->FileDevice, IOCTL_SCSI_PASS_THROUGH_DIRECT,
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