diff options
author | Kyungwoo Lee <kyulee@microsoft.com> | 2016-01-24 22:07:44 +0300 |
---|---|---|
committer | Kyungwoo Lee <kyulee@microsoft.com> | 2016-01-25 00:58:00 +0300 |
commit | 8684ad9d9940befe1b5b09e84c74c935a750c6e6 (patch) | |
tree | 8f351bfa9a9fafc924aea6a488a99e27bccae958 /src/Native/Runtime/EHHelpers.cpp | |
parent | b54338dc0eeb0fe39e4a13aceccbe428474be94d (diff) |
Fix for casting function pointer to data pointer
Diffstat (limited to 'src/Native/Runtime/EHHelpers.cpp')
-rw-r--r-- | src/Native/Runtime/EHHelpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/EHHelpers.cpp b/src/Native/Runtime/EHHelpers.cpp index bab2d116b..c3d5b8ee2 100644 --- a/src/Native/Runtime/EHHelpers.cpp +++ b/src/Native/Runtime/EHHelpers.cpp @@ -445,7 +445,7 @@ Int32 __stdcall RhpVectoredExceptionHandler(PEXCEPTION_POINTERS pExPtrs) { // Get the module handle for this runtime. Do this by passing an address definitely within the // module (the address of this function) to GetModuleHandleEx with the "from address" flag. - HANDLE hRuntimeModule = PalGetModuleHandleFromPointer(RhpVectoredExceptionHandler); + HANDLE hRuntimeModule = PalGetModuleHandleFromPointer(reinterpret_cast<void*>(RhpVectoredExceptionHandler)); if (!hRuntimeModule) { ASSERT_UNCONDITIONALLY("Failed to locate our own module handle"); |