builtin: VectoredExceptionHandler cast on x86 (#6525)

pull/6533/head
Ekopalypse 2020-10-02 03:17:33 +00:00 committed by GitHub
parent c825275f7f
commit 1a7ac5e382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ fn unhandled_exception_handler(e &ExceptionPointers) int {
}
fn add_unhandled_exception_handler() {
add_vectored_exception_handler(unhandled_exception_handler)
add_vectored_exception_handler(VectoredExceptionHandler(voidptr(unhandled_exception_handler)))
}
fn C.IsDebuggerPresent() bool