VirtualBox

Changeset 26445 in vbox


Ignore:
Timestamp:
Feb 11, 2010 5:00:48 PM (15 years ago)
Author:
vboxsync
Message:

Frontends/SDL: fix build error reported by some gcc versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r26439 r26445  
    14041404    bool sessionOpened = false;
    14051405    EventQueue* eventQ = com::EventQueue::getMainEventQueue();
    1406 
    1407     rc = virtualBox.createLocalObject (CLSID_VirtualBox);
     1406    const CLSID sessionID = CLSID_Session;
     1407
     1408    rc = virtualBox.createLocalObject(CLSID_VirtualBox);
    14081409    if (FAILED(rc))
    14091410    {
     
    14161417        goto leave;
    14171418    }
    1418     rc = session.createInprocObject (CLSID_Session);
     1419    rc = session.createInprocObject(sessionID);
    14191420    if (FAILED(rc))
    14201421    {
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