VirtualBox

Changeset 57004 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Jul 19, 2015 12:53:13 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101719
Message:

iprt,*: Marked all format strings in the C part of IPRT and fixed the fallout.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTBase64.cpp

    r56290 r57004  
    9393                      cchOut, cchEnc);
    9494    else if (fNormalEnc && memcmp(szOut, pszEnc, cchOut + 1))
    95         RTTestIFailed("RTBase64Encode returned:\n%*s\nexpected:\n%s\n",
    96                       szOut, pszEnc);
     95        RTTestIFailed("RTBase64Encode returned:\n%.*s\nexpected:\n%s\n",
     96                      sizeof(szOut), szOut, pszEnc);
    9797
    9898    size_t cchOut2 = RTBase64EncodedLength(cbData);
  • trunk/src/VBox/Runtime/testcase/tstRTList.cpp

    r56290 r57004  
    101101    }
    102102    RTTEST_CHECK_MSG_RETV(hTest, idx == idxFirst - idxStep || (idx == idxLast && idxFirst == idxLast),
    103                           (hTest, "idx=%u idxFirst=%u idxLast idxStep=%u\n", idx, idxFirst, idxLast, idxStep));
     103                          (hTest, "idx=%u idxFirst=%u idxLast=%u idxStep=%u\n", idx, idxFirst, idxLast, idxStep));
    104104}
    105105
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette