summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-01-11 08:44:53 +0100
committerJulien Cristau <jcristau@debian.org>2009-01-11 08:54:13 +0100
commitf43a3c61ab1eab8aecdc0e4bdee9f3bae2cab234 (patch)
tree161133220a906411457126b382ab3c61eece7693 /os
parent5321ae76cffc5fcfe4bebcfb10e08eecaf640503 (diff)
os: backtrace() returns int, not size_t
Diffstat (limited to 'os')
-rw-r--r--os/backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/backtrace.c b/os/backtrace.c
index b52dcded8..19ff58d7a 100644
--- a/os/backtrace.c
+++ b/os/backtrace.c
@@ -33,7 +33,7 @@
void xorg_backtrace(void)
{
void *array[32]; /* deeper nesting than this means something's wrong */
- size_t size, i;
+ int size, i;
char **strings;
ErrorF("\nBacktrace:\n");
size = backtrace(array, 32);