VirtualBox

Changeset 11554 in vbox for trunk/src


Ignore:
Timestamp:
Aug 21, 2008 9:28:48 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35139
Message:

VirtualBox4: QVector<T>::resize() takes a int instead of a size_t, shut up annoying MSC warning in FromSafeArray about it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/COMDefs.h

    r10544 r11554  
    265265    static void FromSafeArray (const com::SafeArray <T> &aArr, QVector <T> &aVec)
    266266    {
    267         aVec.resize (aArr.size());
     267        aVec.resize (static_cast<int> (aArr.size()));
    268268        for (int i = 0; i < aVec.size(); ++i)
    269269            aVec [i] = aArr [i];
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