Skip to content

Commit

Permalink
fix: remove extra format argument
Browse files Browse the repository at this point in the history
  • Loading branch information
xxCherry committed Aug 8, 2024
1 parent 15a2f02 commit 489aaa1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/tsprocess/lib/functions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,7 @@ Napi::Value read_csharp_string(const Napi::CallbackInfo &args) {
)) {
#ifdef _WIN32
auto error_str = logger::format(
"Couldn't read C# string length (base: %x, length: %x, last error: %d)", address, address + sizeof(int),
GetLastError(), reinterpret_cast<void *>(address)
"Couldn't read C# string length (base: %x, length: %x, last error: %d)", address, address + sizeof(int), GetLastError()
);
#else
auto error_str = logger::format("Couldn't read C# string length (base: %x)", address);
Expand Down

0 comments on commit 489aaa1

Please sign in to comment.