using namespace VcoreDPL::Colors::Text;
printf("\n%sResults [%s]: %s\n", BOLD_GREEN_BEGIN,
title.c_str(), BOLD_GREEN_END);
- printf("%s%s%3d%s\n",
+ printf("%s%s%3zu%s\n",
CYAN_BEGIN,
"Total tests: ",
stats.GetTotal(),
CYAN_END);
- printf(" %s%s%3d%s\n",
+ printf(" %s%s%3zu%s\n",
CYAN_BEGIN,
"Succeeded: ",
stats.GetPassed(),
CYAN_END);
- printf(" %s%s%3d%s\n",
+ printf(" %s%s%3zu%s\n",
CYAN_BEGIN,
"Failed: ",
stats.GetFailed(),
CYAN_END);
- printf(" %s%s%3d%s\n",
+ printf(" %s%s%3zu%s\n",
CYAN_BEGIN,
"Ignored: ",
stats.GetIgnored(),
m_fp.Get(), "\n%sResults [%s]:%s\n", BOLD_GREEN_BEGIN,
name.c_str(), BOLD_GREEN_END);
fprintf(
- m_fp.Get(), "%s%s%3d%s\n", CYAN_BEGIN,
+ m_fp.Get(), "%s%s%3zu%s\n", CYAN_BEGIN,
"Total tests: ", stats.GetTotal(), CYAN_END);
fprintf(
- m_fp.Get(), " %s%s%3d%s\n", CYAN_BEGIN,
+ m_fp.Get(), " %s%s%3zu%s\n", CYAN_BEGIN,
"Succeeded: ", stats.GetPassed(), CYAN_END);
fprintf(
- m_fp.Get(), " %s%s%3d%s\n", CYAN_BEGIN,
+ m_fp.Get(), " %s%s%3zu%s\n", CYAN_BEGIN,
"Failed: ", stats.GetFailed(), CYAN_END);
fprintf(
- m_fp.Get(), " %s%s%3d%s\n", CYAN_BEGIN,
+ m_fp.Get(), " %s%s%3zu%s\n", CYAN_BEGIN,
"Ignored: ", stats.GetIgnored(), CYAN_END);
}
if (xmlSecCryptoAppKeysMngrCertLoadMemory(
mngrPtr,
reinterpret_cast<const xmlSecByte *>(derCert.data()),
- reinterpret_cast<xmlSecSize>(derCert.length()),
+ static_cast<xmlSecSize>(derCert.length()),
xmlSecKeyDataFormatDer,
xmlSecKeyDataTypeTrusted) < 0)
ThrowMsg(Exception::InternalError, "Failed to load der cert from memory.");