VirtualBox

Changeset 26536 in vbox


Ignore:
Timestamp:
Feb 15, 2010 1:03:48 PM (15 years ago)
Author:
vboxsync
Message:

GuestOSType::COMGETTER(RecommendedFirmware): warning (xpcom enums are fun)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestOSTypeImpl.cpp

    r26440 r26536  
    298298
    299299    /* firmware type is constant during life time, no need to lock */
    300     *aFirmwareType = !!(mOSHint & VBOXOSHINT_EFI) ? FirmwareType_EFI : FirmwareType_BIOS;
     300    if (mOSHint & VBOXOSHINT_EFI)
     301        *aFirmwareType = FirmwareType_EFI;
     302    else
     303        *aFirmwareType = FirmwareType_BIOS;
    301304
    302305    return S_OK;
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