[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] ... and fix another backtrace_symbols_fd call in sandbox.c
commit 784e9fff9baa4fb63712de5dd9cc0ac530e2eb23
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Dec 16 09:05:49 2015 -0500
... and fix another backtrace_symbols_fd call in sandbox.c
---
src/common/sandbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 3a9f2a1..950a92f 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)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits