VirtualBox

Changeset 33423 in vbox


Ignore:
Timestamp:
Oct 25, 2010 1:44:18 PM (14 years ago)
Author:
vboxsync
Message:

MSVC warnings

File:
1 edited

Legend:

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

    r33295 r33423  
    824824    // and events keep coming, or queue is oversized we shall unregister this listener.
    825825    uint64_t sinceRead = RTTimeMilliTS() - mLastRead;
    826     uint32_t queueSize = mQueue.size();
     826    size_t queueSize = mQueue.size();
    827827    if ( (queueSize > 1000) || ((queueSize > 500) && (sinceRead > 60 * 1000)))
    828828    {
     
    13961396    com::SafeIfaceArray<IEventSource> aSources(ComSafeArrayInArg (aSourcesIn));
    13971397
    1398     uint32_t cSize = aSources.size();
    1399 
    1400     for (uint32_t i=0; i<cSize; i++)
     1398    size_t cSize = aSources.size();
     1399
     1400    for (size_t i = 0; i < cSize; i++)
    14011401    {
    14021402        if (aSources[i] != NULL)
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