mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +00:00
[common] host: fix compliation on windows
This commit is contained in:
parent
4b4e07875d
commit
b776b00a67
@ -128,8 +128,9 @@ static LONG CALLBACK exception_filter(EXCEPTION_POINTERS * exc)
|
||||
DWORD lineDisp;
|
||||
|
||||
if (SymGetLineFromAddr64(hProcess, frame.AddrPC.Offset, &lineDisp, &line))
|
||||
DEBUG_ERROR("[trace]: %2d: %s:%s+0x%" PRIx64 " (%s:%ld+0x%lx)", i, moduleName, symbol->Name, disp,
|
||||
line.FileName, line.LineNumber, lineDisp);
|
||||
DEBUG_ERROR("[trace]: %2d: %s:%s+0x%" PRIx64 " (%s:%" PRIx64 "+0x%" PRIx64 ")",
|
||||
i, moduleName, symbol->Name, disp, line.FileName,
|
||||
(uint64_t)line.LineNumber, (uint64_t)lineDisp);
|
||||
else
|
||||
DEBUG_ERROR("[trace]: %2d: %s:%s+0x%" PRIx64, i, moduleName, symbol->Name, disp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user