aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kerncompat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerncompat.h b/kerncompat.h
index 574f468..378f055 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -72,7 +72,7 @@
static inline void print_trace(void)
{
void *array[MAX_BACKTRACE];
- size_t size;
+ int size;
size = backtrace(array, MAX_BACKTRACE);
backtrace_symbols_fd(array, size, 2);