Skip to content

Commit

Permalink
Make Mingw happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed Jan 27, 2023
1 parent b111a1f commit 8ea5452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interop/src/Hook.cpp
Expand Up @@ -155,7 +155,7 @@ namespace OpenLoco::Interop
done = WriteProcessMemory(GetCurrentProcess(), (LPVOID)address, data, i, 0);
if (!done)
{
fprintf(stderr, "WriteProcessMemory failed! address = 0x%08x, size = %u, GetLastError() = 0x%08x", address, i, GetLastError());
fprintf(stderr, "WriteProcessMemory failed! address = 0x%08x, size = %d, GetLastError() = 0x%08x", address, i, GetLastError());
}
#else
done = true;
Expand Down

0 comments on commit 8ea5452

Please sign in to comment.