VirtualBox

Ignore:
Timestamp:
Apr 16, 2020 10:11:11 PM (5 years ago)
Author:
vboxsync
Message:

VBoxEditCoffLib.cpp: Visual C++ 2017 warning fixes. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/VBoxEditCoffLib.cpp

    r82968 r83722  
    241241
    242242        if (g_cVerbosity > 2)
    243             fprintf(stderr, "debug: %#08x: %#010x %*.*s\n", off, cbFile - cbExtra, cchName, cchName, pchName);
     243            fprintf(stderr, "debug: %#08x: %#010x %*.*s\n",
     244                    (unsigned)off, (unsigned)(cbFile - cbExtra), (int)cchName, (int)cchName, pchName);
    244245
    245246        /*
     
    253254            if (g_cVerbosity > 1)
    254255                fprintf(stderr, "debug: selected '%*.*s': %#x LB %#x\n",
    255                         cchName, cchName, pchName, off + sizeof(*pHdr) + cbExtra, g_cbMember);
     256                        (int)cchName, (int)cchName, pchName, (unsigned)(off + sizeof(*pHdr) + cbExtra), g_cbMember);
    256257            return 0;
    257258        }
     
    313314    if (g_cVerbosity > 2)
    314315        fprintf(stderr, "debug: redefining symbol '%*.*s' to '%*.*s'...\n",
    315                 cchOld, cchOld, pszOld, cchNew, cchNew, pszNew);
     316                (int)cchOld, (int)cchOld, pszOld, (int)cchNew, (int)cchNew, pszNew);
    316317
    317318    /*
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