VirtualBox

Changeset 30631 in vbox for trunk/src/VBox/Main/xpcom


Ignore:
Timestamp:
Jul 5, 2010 7:20:03 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63366
Message:

Main: Escape the (nsCID) { uuid-bits } compound literals expression so that they don't cause trouble with -pedantic is used. (C++ lagging behind C99 again.)

Location:
trunk/src/VBox/Main/xpcom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xpcom/server.cpp

    r30559 r30631  
    637637    nsModuleComponentInfoEx(
    638638        "VirtualBox component",
    639         (nsCID) NS_VIRTUALBOX_CID,
     639        CLSID_VirtualBox,
    640640        NS_VIRTUALBOX_CONTRACTID,
    641641        VirtualBoxConstructor, // constructor funcion
  • trunk/src/VBox/Main/xpcom/server_module.cpp

    r29599 r30631  
    241241
    242242            rc = dconServ->CreateInstance (serverID,
    243                                            (nsCID) NS_VIRTUALBOX_CID,
     243                                           CLSID_VirtualBox,
    244244                                           aIID, aResult);
    245245            if (NS_SUCCEEDED(rc))
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