VirtualBox

Changeset 77608 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 8, 2019 4:01:48 AM (6 years ago)
Author:
vboxsync
Message:

Attempt to eliminate burns on Windows due to erroniously assigning size_t to int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r77606 r77608  
    325325                if (!pNewProp)
    326326                    return errorArgument("Can't allocate memory for property '%s'", ValueUnion.psz);
    327                 int cbKvp = RTStrNLen(ValueUnion.psz, PROP_MAXLEN);
     327                size_t cbKvp = RTStrNLen(ValueUnion.psz, PROP_MAXLEN);
    328328                char *cp;
    329329                for (cp = (char *)ValueUnion.psz; *cp != '=' && cp < ValueUnion.psz + cbKvp; cp++)
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