summaryrefslogtreecommitdiff
path: root/src/common/sandbox.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-16 09:05:49 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-16 09:05:49 -0500
commit784e9fff9baa4fb63712de5dd9cc0ac530e2eb23 (patch)
treeee3a9b7334004ca1cf3a0e7243b6850553fc0c92 /src/common/sandbox.c
parente0aa4f837c62d1b6df37bba071023ec24f3191cc (diff)
downloadtor-784e9fff9baa4fb63712de5dd9cc0ac530e2eb23.tar.gz
tor-784e9fff9baa4fb63712de5dd9cc0ac530e2eb23.zip
... and fix another backtrace_symbols_fd call in sandbox.c
Diffstat (limited to 'src/common/sandbox.c')
-rw-r--r--src/common/sandbox.c2
1 files changed, 1 insertions, 1 deletions
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)