VirtualBox

Changeset 37930 in vbox


Ignore:
Timestamp:
Jul 13, 2011 7:56:55 PM (14 years ago)
Author:
vboxsync
Message:

Main: LONG / ULONG have %d / %u format specifiers (Assert/Log only)

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp

    r37863 r37930  
    23892389            if (RT_SUCCESS(vrc))
    23902390            {
    2391                 LogFlowFunc(("Waiting for HGCM callback (timeout=%ldms) ...\n", aTimeoutMS));
     2391                LogFlowFunc(("Waiting for HGCM callback (timeout=%dms) ...\n", aTimeoutMS));
    23922392
    23932393                /*
     
    27572757            if (RT_SUCCESS(vrc))
    27582758            {
    2759                 LogFlowFunc(("Waiting for HGCM callback (timeout=%ldms) ...\n", aTimeoutMS));
     2759                LogFlowFunc(("Waiting for HGCM callback (timeout=%dms) ...\n", aTimeoutMS));
    27602760
    27612761                /*
  • trunk/src/VBox/Main/src-client/GuestImpl.cpp

    r37589 r37930  
    712712    }
    713713    else /* Should never happen! */
    714         AssertMsgFailed(("Invalid facility status/run level detected! uCurFacility=%ld\n", uCurFacility));
     714        AssertMsgFailed(("Invalid facility status/run level detected! uCurFacility=%d\n", uCurFacility));
    715715
    716716    /*
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r37824 r37930  
    38423842    CheckComArgStrNotEmptyOrNull(aControllerName);
    38433843
    3844     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%ld aDevice=%ld\n",
     3844    LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d\n",
    38453845                     aControllerName, aControllerPort, aDevice));
    38463846
     
    39203920    CheckComArgStrNotEmptyOrNull(aControllerName);
    39213921
    3922     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%ld aDevice=%ld aPassthrough=%d\n",
     3922    LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d aPassthrough=%d\n",
    39233923                     aControllerName, aControllerPort, aDevice, aPassthrough));
    39243924
     
    39673967    CheckComArgStrNotEmptyOrNull(aControllerName);
    39683968
    3969     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%ld aDevice=%ld aTemporaryEject=%d\n",
     3969    LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d aTemporaryEject=%d\n",
    39703970                     aControllerName, aControllerPort, aDevice, aTemporaryEject));
    39713971
     
    40074007    CheckComArgStrNotEmptyOrNull(aControllerName);
    40084008
    4009     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%ld aDevice=%ld aNonRotational=%d\n",
     4009    LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d aNonRotational=%d\n",
    40104010                     aControllerName, aControllerPort, aDevice, aNonRotational));
    40114011
     
    40544054    CheckComArgStrNotEmptyOrNull(aControllerName);
    40554055
    4056     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%ld aDevice=%ld\n",
     4056    LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d\n",
    40574057                     aControllerName, aControllerPort, aDevice));
    40584058
     
    41204120{
    41214121    int rc = S_OK;
    4122     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%ld aDevice=%ld aForce=%d\n",
     4122    LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d aForce=%d\n",
    41234123                     aControllerName, aControllerPort, aDevice, aForce));
    41244124
     
    42384238                                IMedium **aMedium)
    42394239{
    4240     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%ld aDevice=%ld\n",
     4240    LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d\n",
    42414241                     aControllerName, aControllerPort, aDevice));
    42424242
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