Skip to content

Commit 024f018

Browse files
committed
Missed a bool -> HANDLE conversion
1 parent 687f754 commit 024f018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/ImageInspection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ void _swift_win32_withDbgHelpLibrary(
153153
static inline void _swift_win32_withDbgHelpLibrary(
154154
const std::function<void(HANDLE /*hProcess*/)> &body) {
155155
_swift_win32_withDbgHelpLibrary([](HANDLE hProcess, void *context) {
156-
auto bodyp = reinterpret_cast<std::function<void(bool)> *>(context);
156+
auto bodyp = reinterpret_cast<std::function<void(HANDLE)> *>(context);
157157
(* bodyp)(hProcess);
158158
}, const_cast<void *>(reinterpret_cast<const void *>(&body)));
159159
}

0 commit comments

Comments
 (0)