VirtualBox

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


Ignore:
Timestamp:
Aug 21, 2018 4:40:42 PM (6 years ago)
Author:
vboxsync
Message:

fixed signed/unsigned mismatch in the comparsion

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

Legend:

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

    r73804 r73805  
    50775077    if (!aValue.isEmpty())
    50785078    {
    5079         for (int i = 0; i < aKey.length(); ++i)
     5079        for (size_t i = 0; i < aKey.length(); ++i)
    50805080        {
    50815081            char ch = aKey[i];
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r73804 r73805  
    20782078    if (!strValue.isEmpty())
    20792079    {
    2080         for (int i = 0; i < strKey.length(); ++i)
     2080        for (size_t i = 0; i < strKey.length(); ++i)
    20812081        {
    20822082            char ch = strKey[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