VirtualBox

Changeset 53508 in vbox


Ignore:
Timestamp:
Dec 11, 2014 12:07:48 PM (10 years ago)
Author:
vboxsync
Message:

warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/RemoteUSBDeviceImpl.cpp

    r53297 r53508  
    107107    {
    108108        unconst(mData.portVersion)  = mData.version;
    109         unconst(mData.speed) = mData.version == 3 ? USBConnectionSpeed_Super :
    110                                mData.version == 2 ? USBConnectionSpeed_High :
    111                                USBConnectionSpeed_Full;
     109        unconst(mData.speed) = mData.version == 3
     110                             ? (USBConnectionSpeed_T)USBConnectionSpeed_Super
     111                             : mData.version == 2 ? (USBConnectionSpeed_T)USBConnectionSpeed_High
     112                                                  : (USBConnectionSpeed_T)USBConnectionSpeed_Full;
    112113    }
    113114
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