mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 19:45:35 -04:00
[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:
parent
95d3c50b7f
commit
f43a461c35
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user