diff --git a/atom/common/crash_reporter/crash_reporter_win.cc b/atom/common/crash_reporter/crash_reporter_win.cc index c574da71c9de..318e4ab5968a 100644 --- a/atom/common/crash_reporter/crash_reporter_win.cc +++ b/atom/common/crash_reporter/crash_reporter_win.cc @@ -112,7 +112,8 @@ bool RegisterNonABICompliantCodeRange(void* start, size_t size_in_bytes) { // mov imm64, rax record->thunk[0] = 0x48; record->thunk[1] = 0xb8; - void* handler = &CrashForExceptionInNonABICompliantCodeRange; + void* handler = + reinterpret_cast(&CrashForExceptionInNonABICompliantCodeRange); memcpy(&record->thunk[2], &handler, 8); // jmp rax