Fix warnings found by StringFromFormat having printf style checking.

This commit is contained in:
Matthew Parlane committed 2014-02-07 01:38:08 +13:00
1 parent 09cc7e2ddf
commit 70d2592ffb
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -231,7 +231,7 @@ void LogCompiledInstructions()
}
#ifdef OPLOG
f.Open(StringFromFormat("%s" OP_TO_LOG "_at.txt", File::GetUserPath(D_LOGS_IDX).c_str(), time), "w");
f.Open(StringFromFormat("%s" OP_TO_LOG "_at%i.txt", File::GetUserPath(D_LOGS_IDX).c_str(), time), "w");
for (auto& rsplocation : rsplocations)
{
fprintf(f.GetHandle(), OP_TO_LOG ": %08x\n", rsplocation);