fix print_backtrace build (#731)
This commit is contained in:
parent
44a668db62
commit
5b23bc81b6
|
@ -231,7 +231,7 @@ TORRENT_EXPORT void print_backtrace(char* out, int len, int max_depth
|
|||
if (has_symbol)
|
||||
{
|
||||
ret = snprintf(out, len, " %s +%-4" PRId64 " "
|
||||
, i, stack[i], demangle(symbol.Name), displacement);
|
||||
, demangle(symbol.Name).c_str(), displacement);
|
||||
out += ret; len -= ret; if (len <= 0) break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue