[rvthtool] verify.cpp: Fix a few TCHAR errors. [missing _T() macros]

verify.cpp(180,13): warning C4477: 'wprintf' : format string '%s' requires
an argument of type 'wchar_t *', but variadic argument 3 has type 'const char *'

verify.cpp(182,13): warning C4477: 'wprintf' : format string '%s' requires
an argument of type 'wchar_t *', but variadic argument 2 has type 'const char *'
This commit is contained in:
David Korth 2023-11-25 09:37:14 -05:00
parent 95d3c50b7f
commit f43a461c35

View File

@ -177,9 +177,9 @@ int verify(const TCHAR *rvth_filename, const TCHAR *s_bank)
// Add up the errors.
unsigned int total_errs = std::accumulate(error_count, error_count + ARRAY_SIZE(error_count), 0);
if (isHDD) {
_tprintf(_T("Bank %u verified with %u error%s.\n"), bank+1, total_errs, (total_errs != 1) ? "s" : "");
_tprintf(_T("Bank %u verified with %u error%s.\n"), bank+1, total_errs, (total_errs != 1) ? _T("s") : _T(""));
} else {
_tprintf(_T("Disc image verified with %u error%s.\n"), total_errs, (total_errs != 1) ? "s" : "");
_tprintf(_T("Disc image verified with %u error%s.\n"), total_errs, (total_errs != 1) ? _T("s") : _T(""));
}
} else {
fprintf(stderr, "*** ERROR: rvth->verifyWiiPartitions() failed: %s\n", rvth_error(ret));