VirtualBox

Changeset 17736 in vbox


Ignore:
Timestamp:
Mar 12, 2009 12:19:40 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44253
Message:

fix compiler warning

File:
1 edited

Legend:

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

    r17686 r17736  
    19271927    CheckComRCReturnRC(rc);
    19281928
    1929     if (   (aControllerPort < 0) || (aControllerPort >= portCount)
    1930         || (aDevice < 0) || (aDevice >= devicesPerPort))
     1929    if (   (aControllerPort < 0)
     1930        || (aControllerPort >= (LONG)portCount)
     1931        || (aDevice < 0)
     1932        || (aDevice >= (LONG)devicesPerPort)
     1933       )
    19311934        return setError (E_INVALIDARG,
    19321935            tr ("The port and/or count parameter are out of range [%lu:%lu]"),
     
    1137211375    }
    1137311376
    11374     /* create copies of all storage controllers (mStorageControllerData 
     11377    /* create copies of all storage controllers (mStorageControllerData
    1137511378     * after attaching a copy contains just references to original objects) */
    1137611379    mStorageControllers.allocate();
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