fix print_backtrace build (#731)

This commit is contained in:
Arvid Norberg 2016-05-15 15:40:53 -04:00
parent 44a668db62
commit 5b23bc81b6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}