VirtualBox

Changeset 85234 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jul 11, 2020 4:31:44 PM (5 years ago)
Author:
vboxsync
Message:

Main/DHCPConfigImpl.cpp: Signedness warnings. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/DHCPConfigImpl.cpp

    r82968 r85234  
    276276        if (m_vecForcedOptions.size() == aOptions.size())
    277277        {
    278             ssize_t i = m_vecForcedOptions.size();
     278            ssize_t i = (ssize_t)m_vecForcedOptions.size();
    279279            while (i-- > 0)
    280                 if (m_vecForcedOptions[i] != aOptions[i])
     280                if (m_vecForcedOptions[(size_t)i] != aOptions[(size_t)i])
    281281                    break;
    282282            if (i < 0)
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