VirtualBox

Changeset 83820 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Apr 19, 2020 1:08:36 AM (5 years ago)
Author:
vboxsync
Message:

Main: VC++ 14.1 adjustments and warnings. bugref:8489

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/msiDarwinDescriptorDecoder.cpp

    r82968 r83820  
    5454                    " ->     FeatureId=%ls\n"
    5555                    " -> ComponentCode=%ls\n"
    56                     " ->  offArguments=%#x (%d)\n"
     56                    " ->  offArguments=%#lx (%ld)\n"
    5757                    , iArg, papwszArgs[iArg], wszProductCode, wszFeatureId, wszComponentCode, offArguments, offArguments);
    5858        }
     
    6161            fprintf(stderr,
    6262                    "#%u: '%ls'\n"
    63                     " -> error %u (%#x)\n"
     63                    " -> error %lu (%#lx)\n"
    6464                    , iArg, papwszArgs[iArg], dwErr, dwErr);
    6565            rcExit = 1;
  • trunk/src/VBox/Main/testcase/tstVBoxAPIWin.cpp

    r82968 r83820  
    117117
    118118        if (FAILED(rc))
    119             printf("Error getting error info! rc = 0x%x\n", rc);
     119            printf("Error getting error info! rc=%#lx\n", rc);
    120120        else
    121121        {
     
    125125
    126126            if (FAILED(rc) || !errorDescription)
    127                 printf("Error getting error description! rc = 0x%x\n", rc);
     127                printf("Error getting error description! rc=%#lx\n", rc);
    128128            else
    129129            {
     
    161161
    162162        if (FAILED(rc))
    163             printf("Error getting error info! rc = 0x%x\n", rc);
     163            printf("Error getting error info! rc=%#lx\n", rc);
    164164        else
    165165        {
     
    169169
    170170            if (FAILED(rc) || !errorDescription)
    171                 printf("Error getting error description! rc = 0x%x\n", rc);
     171                printf("Error getting error description! rc=%#lx\n", rc);
    172172            else
    173173            {
     
    193193            if (!SUCCEEDED(rc))
    194194            {
    195                 printf("Error retrieving machine ID! rc = 0x%x\n", rc);
     195                printf("Error retrieving machine ID! rc=%#lx\n", rc);
    196196                break;
    197197            }
     
    205205            if (!SUCCEEDED(rc))
    206206            {
    207                 printf("Error creating Session instance! rc = 0x%x\n", rc);
     207                printf("Error creating Session instance! rc=%#lx\n", rc);
    208208                break;
    209209            }
     
    214214            if (!SUCCEEDED(rc))
    215215            {
    216                 printf("Could not open remote session! rc = 0x%x\n", rc);
     216                printf("Could not open remote session! rc=%#lx\n", rc);
    217217                break;
    218218            }
     
    287287        }
    288288        else
    289             printf("Error creating VirtualBox instance! rc = 0x%x\n", rc);
     289            printf("Error creating VirtualBox instance! rc=%#lx\n", rc);
    290290    }
    291291
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