VirtualBox

Ignore:
Timestamp:
Jul 8, 2018 1:58:59 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123528
Message:

VBoxManage: XPCOM/C++ enum exorcism. Found a enum type mismatch in handleCloneMedium and fixed it as best I could.

File:
1 edited

Legend:

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

    r72919 r72976  
    271271 * @param   enmType         Bandwidth control group type.
    272272 */
    273 inline const char * bwGroupTypeToString(BandwidthGroupType_T enmType)
     273static const char * bwGroupTypeToString(BandwidthGroupType_T enmType)
    274274{
    275275    switch (enmType)
     
    278278        case BandwidthGroupType_Disk:    return "Disk";
    279279        case BandwidthGroupType_Network: return "Network";
     280#ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK
     281        case BandwidthGroupType_32BitHack: break; /* Shut up compiler warnings. */
     282#endif
    280283    }
    281284    return "unknown";
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette