VirtualBox

Changeset 64361 in vbox for trunk/src


Ignore:
Timestamp:
Oct 22, 2016 2:50:53 PM (8 years ago)
Author:
vboxsync
Message:

Devices/Storage/HostDVD: build fix

File:
1 edited

Legend:

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

    r64360 r64361  
    613613            {
    614614                if (i * cbSector > SCSI_MAX_BUFFER_SIZE)
    615                     cReqSectors = SCSI_MAX_BUFFER_SIZE / cbSector;
     615                    cReqSectors = SCSI_MAX_BUFFER_SIZE / (uint32_t)cbSector;
    616616                else
    617617                    cReqSectors = i;
    618                 uint32_t cbCurrTX = cbSector * cReqSectors;
     618                uint32_t cbCurrTX = (uint32_t)cbSector * cReqSectors;
    619619                switch (pbCdb[0])
    620620                {
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