* exceptions.cc (exception::handle): Cast exception code to NTSTATUS
for comparison. * ntdll.h: Drop defining NT status codes in favor of including ntstatus.h.
This commit is contained in:
@ -664,7 +664,7 @@ exception::handle (EXCEPTION_RECORD *e, exception_list *frame, CONTEXT *in, void
|
||||
stackdump ((DWORD) ebp, in, e);
|
||||
}
|
||||
|
||||
if (e->ExceptionCode == STATUS_ACCESS_VIOLATION)
|
||||
if ((NTSTATUS) e->ExceptionCode == STATUS_ACCESS_VIOLATION)
|
||||
{
|
||||
int error_code = 0;
|
||||
if (si.si_code == SEGV_ACCERR) /* Address present */
|
||||
|
Reference in New Issue
Block a user