debug: Fix broken format specifiers
This commit is contained in:
parent
ffa5fb07c2
commit
900aa94796
@ -424,10 +424,10 @@ char** winpr_backtrace_symbols(void* buffer, size_t* used)
|
||||
|
||||
if (SymGetLineFromAddr64(process, address, &displacement, line))
|
||||
{
|
||||
sprintf_s(vlines[i], line_len, "%08lX: %s in %s:%lu", symbol->Address, symbol->Name, line->FileName, line->LineNumber);
|
||||
sprintf_s(vlines[i], line_len, "%016"PRIx64": %s in %s:%"PRIu32, symbol->Address, symbol->Name, line->FileName, line->LineNumber);
|
||||
}
|
||||
else
|
||||
sprintf_s(vlines[i], line_len, "%08lX: %s", symbol->Address, symbol->Name);
|
||||
sprintf_s(vlines[i], line_len, "%016"PRIx64": %s", symbol->Address, symbol->Name);
|
||||
}
|
||||
|
||||
if (used)
|
||||
|
Loading…
Reference in New Issue
Block a user