VirtualBox

Changeset 65083 in vbox


Ignore:
Timestamp:
Jan 3, 2017 3:18:37 PM (8 years ago)
Author:
vboxsync
Message:

DrvHostDVD: build fix

File:
1 edited

Legend:

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

    r65078 r65083  
    549549
    550550    /*
    551      * Parse the command first to fend off any illegal or dangeroups commands we don't want the guest
     551     * Parse the command first to fend off any illegal or dangerous commands we don't want the guest
    552552     * to execute on the host drive.
    553553     */
     
    612612            {
    613613                if (i * cbSector > cbScsiCmdBufLimit)
    614                     cReqSectors = cbScsiCmdBufLimit / (uint32_t)cbSector;
     614                    cReqSectors = (uint32_t)(cbScsiCmdBufLimit / cbSector);
    615615                else
    616616                    cReqSectors = i;
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