mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 21:07:50 +08:00
6df2ad9771
* [buck-yeh-bux] Fix error C7595 * update version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
16 lines
698 B
Diff
16 lines
698 B
Diff
diff --git a/src/XException.cpp b/src/XException.cpp
|
|
index 6a66347..53a0087 100644
|
|
--- a/src/XException.cpp
|
|
+++ b/src/XException.cpp
|
|
@@ -49,8 +49,8 @@ LONG WINAPI usrSEH(_EXCEPTION_POINTERS *pInfo)
|
|
RUNTIME_ERROR("code 0x{:x}, flags 0x{:x}, extra 0x{:x}, ip 0x{:x}, arg#{:x}",
|
|
er->ExceptionCode,
|
|
er->ExceptionFlags,
|
|
- static_cast<void*>(er->ExceptionRecord),
|
|
- static_cast<void*>(er->ExceptionAddress),
|
|
+ (size_t)static_cast<void*>(er->ExceptionRecord),
|
|
+ (size_t)static_cast<void*>(er->ExceptionAddress),
|
|
er->NumberParameters);
|
|
}
|
|
return EXCEPTION_CONTINUE_SEARCH;
|