VirtualBox

Changeset 85215 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 11, 2020 1:30:59 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139192
Message:

Main/GuestOSTypeImpl: Drop unused mMonitorCount. Signed conversion fix for Clang 11. bugref:9790

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestOSTypeImpl.h

    r82968 r85215  
    9898    const uint32_t mVRAMSize;
    9999    const uint64_t mHDDSize;
    100     const uint32_t mMonitorCount;
    101100    const NetworkAdapterType_T mNetworkAdapterType;
    102101    const uint32_t mNumSerialEnabled;
  • trunk/src/VBox/Main/src-server/GuestOSTypeImpl.cpp

    r82968 r85215  
    3131    , mGraphicsControllerType(GraphicsControllerType_Null)
    3232    , mVRAMSize(0)
    33     , mHDDSize(0), mMonitorCount(0)
     33    , mHDDSize(0),
    3434    , mNetworkAdapterType(NetworkAdapterType_Am79C973)
    3535    , mNumSerialEnabled(0)
     
    235235{
    236236    /* mHDDSize is constant during life time, no need to lock */
    237     *aHDDSize = mHDDSize;
     237    *aHDDSize = (LONG64)mHDDSize;
    238238
    239239    return 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