We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 687f754 commit 024f018Copy full SHA for 024f018
stdlib/public/runtime/ImageInspection.h
@@ -153,7 +153,7 @@ void _swift_win32_withDbgHelpLibrary(
153
static inline void _swift_win32_withDbgHelpLibrary(
154
const std::function<void(HANDLE /*hProcess*/)> &body) {
155
_swift_win32_withDbgHelpLibrary([](HANDLE hProcess, void *context) {
156
- auto bodyp = reinterpret_cast<std::function<void(bool)> *>(context);
+ auto bodyp = reinterpret_cast<std::function<void(HANDLE)> *>(context);
157
(* bodyp)(hProcess);
158
}, const_cast<void *>(reinterpret_cast<const void *>(&body)));
159
}
0 commit comments