From: Nick Mathewson Date: Wed, 16 Dec 2015 14:05:49 +0000 (-0500) Subject: ... and fix another backtrace_symbols_fd call in sandbox.c X-Git-Tag: tor-0.2.8.1-alpha~128^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=784e9fff9baa4fb63712de5dd9cc0ac530e2eb23;p=thirdparty%2Ftor.git ... and fix another backtrace_symbols_fd call in sandbox.c --- diff --git a/src/common/sandbox.c b/src/common/sandbox.c index 3a9f2a1898..950a92fbb3 100644 --- a/src/common/sandbox.c +++ b/src/common/sandbox.c @@ -1630,7 +1630,7 @@ sigsys_debugging(int nr, siginfo_t *info, void *void_context) #ifdef USE_BACKTRACE n_fds = tor_log_get_sigsafe_err_fds(&fds); for (i=0; i < n_fds; ++i) - backtrace_symbols_fd(syscall_cb_buf, depth, fds[i]); + backtrace_symbols_fd(syscall_cb_buf, (int)depth, fds[i]); #endif #if defined(DEBUGGING_CLOSE)