VirtualBox

Changeset 37097 in vbox


Ignore:
Timestamp:
May 16, 2011 10:28:37 AM (14 years ago)
Author:
vboxsync
Message:

VBoxManage: ULONG/LONG is not 64-bit

File:
1 edited

Legend:

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

    r37074 r37097  
    4949*   Global Variables                                                           *
    5050*******************************************************************************/
    51 /*extern*/ bool         g_fDetailedProgress = false;
     51/*extern*/ bool         g_fDetailedProgress = true;
    5252
    5353#ifndef VBOX_ONLY_DOCS
     
    152152                progress->COMGETTER(TimeRemaining)(&lSecsRem);
    153153
    154                 RTStrmPrintf(g_pStdErr, "(%ld/%ld) %ls %ld%% => %ld%% (%d s remaining)\n", ulOperation + 1, cOperations, bstrOperationDescription.raw(), ulCurrentOperationPercent, ulCurrentPercent, lSecsRem);
     154                RTStrmPrintf(g_pStdErr, "(%u/%u) %ls %02u%% => %02u%% (%d s remaining)\n", ulOperation + 1, cOperations, bstrOperationDescription.raw(), ulCurrentOperationPercent, ulCurrentPercent, lSecsRem);
    155155                ulLastPercent = ulCurrentPercent;
    156156                ulLastOperationPercent = ulCurrentOperationPercent;
     
    167167                    if (curVal < 100)
    168168                    {
    169                         RTStrmPrintf(g_pStdErr, "%ld%%...", curVal);
     169                        RTStrmPrintf(g_pStdErr, "%u%%...", curVal);
    170170                        RTStrmFlush(g_pStdErr);
    171171                    }
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