VirtualBox

Changeset 52959 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 6, 2014 7:46:39 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96402
Message:

Main: warnings

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

Legend:

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

    r51498 r52959  
    293293     *       digit.
    294294     */
    295     int cch = pszEnd - pszStart;
     295    size_t cch = pszEnd - pszStart;
    296296    if (cch > 0 && cch <= 5) /* Port is up to 5 decimal digits. */
    297297    {
  • trunk/src/VBox/Main/xml/Settings.cpp

    r52682 r52959  
    16021602        pelmThis->setAttribute("enabled", (d.fEnabled) ? 1 : 0);        // too bad we chose 1 vs. 0 here
    16031603        /* We assume that if there're only 1 element it means that */
    1604         int cOpt = d.GlobalDhcpOptions.size();
     1604        size_t cOpt = d.GlobalDhcpOptions.size();
    16051605        /* We don't want duplicate validation check of networkMask here*/
    16061606        if (   (   itOpt == d.GlobalDhcpOptions.end()
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