VirtualBox

Changeset 14620 in vbox


Ignore:
Timestamp:
Nov 26, 2008 9:13:11 AM (16 years ago)
Author:
vboxsync
Message:

try to fix the windows builds

File:
1 edited

Legend:

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

    r14619 r14620  
    204204
    205205    Action mAction;
    206     ULONG mIndex;
     206    uint32_t mIndex;
    207207    /** flag whether the command target is a global filter */
    208208    bool mGlobal;
     
    54905490    com::SafeArray<BSTR>          baseMetrics;
    54915491    com::SafeIfaceArray<IUnknown> objects;
    5492     ULONG period = 1, samples = 1;
     5492    uint32_t period = 1, samples = 1;
    54935493    bool listMatches = false;
    54945494    int i;
     
    55005500            if (argc <= i + 1)
    55015501                return errorArgument("Missing argument to '%s'", argv[i]);
    5502             char *endptr = NULL;
    55035502            if (   VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &period)
    55045503                || !period)
     
    55095508            if (argc <= i + 1)
    55105509                return errorArgument("Missing argument to '%s'", argv[i]);
    5511             char *endptr = NULL;
    55125510            if (VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &samples))
    5513             if (!endptr || *endptr)
    55145511                return errorArgument("Invalid value for 'samples' parameter: '%s'", argv[i]);
    55155512        }
     
    56585655    com::SafeArray<BSTR>          baseMetrics;
    56595656    com::SafeIfaceArray<IUnknown> objects;
    5660     ULONG period = 1, samples = 1;
     5657    uint32_t period = 1, samples = 1;
    56615658    bool isDetached = false, listMatches = false;
    56625659    int i;
     
    56675664            if (argc <= i + 1)
    56685665                return errorArgument("Missing argument to '%s'", argv[i]);
    5669             char *endptr = NULL;
    56705666            if (   VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &period)
    56715667                || !period)
     
    56765672            if (argc <= i + 1)
    56775673                return errorArgument("Missing argument to '%s'", argv[i]);
    5678             char *endptr = NULL;
    56795674            if (    VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &samples)
    56805675                 || !samples)
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