VirtualBox

Ignore:
Timestamp:
Aug 16, 2010 3:14:07 PM (14 years ago)
Author:
vboxsync
Message:

win burn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r31698 r31701  
    42384238        char **papszNames, **papszValues, **papszFlags;
    42394239        char szEmpty[] = "";
    4240         ULONG64 *pau64Timestamps;
     4240        LONG64 *pai64Timestamps;
    42414241        papszNames = (char **)RTMemTmpAllocZ(sizeof(void *) * cAlloc);
    42424242        papszValues = (char **)RTMemTmpAllocZ(sizeof(void *) * cAlloc);
    4243         pau64Timestamps = (LONG64 *)RTMemTmpAllocZ(sizeof(ULONG64) * cAlloc);
     4243        pai64Timestamps = (LONG64 *)RTMemTmpAllocZ(sizeof(LONG64) * cAlloc);
    42444244        papszFlags = (char **)RTMemTmpAllocZ(sizeof(void *) * cAlloc);
    4245         if (papszNames && papszValues && pau64Timestamps && papszFlags)
     4245        if (papszNames && papszValues && pai64Timestamps && papszFlags)
    42464246        {
    42474247            for (unsigned i = 0; RT_SUCCESS(rc) && i < cProps; ++i)
     
    42574257                if (RT_FAILURE(rc))
    42584258                    break;
    4259                 pau64Timestamps[i] = timestampsOut[i];
     4259                pai64Timestamps[i] = timestampsOut[i];
    42604260                if (flagsOut[i])
    42614261                    rc = RTUtf16ToUtf8(flagsOut[i], &papszFlags[i]);
     
    42674267                                    (void *)papszNames,
    42684268                                    (void *)papszValues,
    4269                                     (void *)pau64Timestamps,
     4269                                    (void *)pai64Timestamps,
    42704270                                    (void *)papszFlags);
    42714271            for (unsigned i = 0; i < cProps; ++i)
     
    42824282        RTMemTmpFree(papszNames);
    42834283        RTMemTmpFree(papszValues);
    4284         RTMemTmpFree(pau64Timestamps);
     4284        RTMemTmpFree(pai64Timestamps);
    42854285        RTMemTmpFree(papszFlags);
    42864286        AssertRCReturn(rc, rc);
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