VirtualBox

Changeset 54636 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 4, 2015 9:37:43 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98783
Message:

FE/Qt: Yet another build fix for r98781.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h

    r54634 r54636  
    629629        clear();
    630630        mIface = that.mIface;
    631         this->addref(ptr());
     631        this->addref((IUnknown*)ptr());
    632632    }
    633633
     
    636636        clear();
    637637        setPtr(aIface);
    638         this->addref(aIface);
     638        this->addref((IUnknown*)aIface);
    639639    }
    640640
     
    689689        /* be aware of self assignment */
    690690        I* amIface = ptr();
    691         this->addref(aIface);
    692         this->release(amIface);
     691        this->addref((IUnknown*)aIface);
     692        this->release((IUnknown*)amIface);
    693693        if (aIface)
    694694        {
    695695            amIface = NULL;
    696696            B::mRC = aIface->QueryInterface(COM_IIDOF(I), (void **)&amIface);
    697             this->release(aIface);
     697            this->release((IUnknown*)aIface);
    698698            setPtr(amIface);
    699699        }
     
    712712#endif
    713713        /* be aware of self assignment */
    714         this->addref(aIface);
    715         this->release(ptr());
     714        this->addref((IUnknown*)aIface);
     715        this->release((IUnknown*)ptr());
    716716        setPtr(aIface);
    717717        B::mRC = S_OK;
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