summaryrefslogtreecommitdiff
path: root/Source/Core/Common/ucrtFreadWorkaround.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-01-21 23:10:02 +0100
committerPierre Bourdon <delroth@gmail.com>2016-01-21 23:10:02 +0100
commit338714a3b083af9c045482764673a799d582cf2f (patch)
treeb89fff11cb62813c947524181824f9117be0be49 /Source/Core/Common/ucrtFreadWorkaround.cpp
parent7c3e4b34f3407b95ac1746fe6f4567c744478c60 (diff)
parent4b06e927315aeaae5294eb46925bdb9b8dd301dc (diff)
Merge pull request #3544 from mathieui/common_asterisks
Common: asterisks go against the type name
Diffstat (limited to 'Source/Core/Common/ucrtFreadWorkaround.cpp')
-rw-r--r--Source/Core/Common/ucrtFreadWorkaround.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/ucrtFreadWorkaround.cpp b/Source/Core/Common/ucrtFreadWorkaround.cpp
index cecab2b4ff..549c2d9ac5 100644
--- a/Source/Core/Common/ucrtFreadWorkaround.cpp
+++ b/Source/Core/Common/ucrtFreadWorkaround.cpp
@@ -8,7 +8,7 @@
#include <Windows.h>
struct PatchInfo {
- const wchar_t *module_name;
+ const wchar_t* module_name;
u32 checksum;
u32 rva;
u32 length;
@@ -23,7 +23,7 @@ struct PatchInfo {
{ L"ucrtbased.dll", 0x1C1915 , 0x91905, 5 },
};
-bool ApplyPatch(const PatchInfo &patch) {
+bool ApplyPatch(const PatchInfo& patch) {
auto module = GetModuleHandleW(patch.module_name);
if (module == nullptr)
{
@@ -35,7 +35,7 @@ bool ApplyPatch(const PatchInfo &patch) {
return false;
}
- void *patch_addr = (void *)((uintptr_t)module + patch.rva);
+ void* patch_addr = (void*)((uintptr_t)module + patch.rva);
size_t patch_size = patch.length;
DWORD old_protect;