VirtualBox

Changeset 21037 in vbox for trunk


Ignore:
Timestamp:
Jun 29, 2009 3:51:24 PM (16 years ago)
Author:
vboxsync
Message:

build fix, VC++ is more strict than g++ here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r21032 r21037  
    538538
    539539            case 'F':   // --static
    540                 DiskVariant |= HardDiskVariant_Fixed;
     540                unsigned uDiskVariant = (unsigned)DiskVariant;
     541                uDiskVariant |= HardDiskVariant_Fixed;
     542                DiskVariant = (HardDiskVariant_T)uDiskVariant;
    541543                break;
    542544
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