vcpkg/ports/buck-yeh-bux/fix-errorC7595.patch
LilyWangLL 6df2ad9771
[buck-yeh-bux] Fix error C7595 (#22471)
* [buck-yeh-bux] Fix error C7595

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-01-12 11:48:45 -08:00

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;