From 877aab833fb37ee99b9afce6db5d000d446de47f Mon Sep 17 00:00:00 2001 From: namazso Date: Sat, 15 Jul 2023 14:12:12 +0200 Subject: [PATCH] Fix missing wide string conversion --- OpenHashTab/updatecheck.cpp | 2 +- OpenHashTab/virustotal.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenHashTab/updatecheck.cpp b/OpenHashTab/updatecheck.cpp index e70bc87a..4126df54 100644 --- a/OpenHashTab/updatecheck.cpp +++ b/OpenHashTab/updatecheck.cpp @@ -37,7 +37,7 @@ utl::Version utl::GetLatestVersion() { if (reply.error_code) throw std::runtime_error(FormatString( - ESTRt("Error %08X at %d: %s"), + ESTRt("Error %08X at %d: %ls"), reply.error_code, reply.error_location, ErrorToString(reply.error_code).c_str() diff --git a/OpenHashTab/virustotal.cpp b/OpenHashTab/virustotal.cpp index 3cffb6ee..d917cd16 100644 --- a/OpenHashTab/virustotal.cpp +++ b/OpenHashTab/virustotal.cpp @@ -104,7 +104,7 @@ std::list vt::Query(const std::list& files, size_t al if (reply.error_code) throw std::runtime_error(utl::FormatString( - ESTRt("Error %08X at %d: %s"), + ESTRt("Error %08X at %d: %ls"), reply.error_code, reply.error_location, utl::ErrorToString(reply.error_code).c_str()