VirtualBox

Changeset 83728 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 17, 2020 2:00:27 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137246
Message:

IPRT/oiddb2c.cpp: VC++ 141 isn't too smart wrt printf validation, so simplify the code. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/oiddb2c.cpp

    r82968 r83728  
    145145        {
    146146            PRAWOIDNODE pChild = pCurNode->papChildren[i];
    147             fprintf(pOut,
    148                     fBigTable
    149                     ? "    { %7u, %2u, %u, %2u, %4u, %#06x }, /* "
    150                     : "    { %2u, %2u, %u, %2u, %4u, %#06x }, /* "
    151                     ,
     147            fprintf(pOut, "    { %*u, %2u, %u, %2u, %4u, %#06x }, /* ",
     148                    fBigTable ? 7 : 2,
    152149                    pChild->uKey,
    153150                    (unsigned)pChild->StrTabEntry.cchString,
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