aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-12-14 10:22:19 +0000
committermarha <marha@users.sourceforge.net>2009-12-14 10:22:19 +0000
commit9b17452909d3140fa33a753cadfaa6e9006b9685 (patch)
tree4abbb4b660ee9125cb0c20dab5a1c8de9f5a4a2d /xorg-server/os
parent75d2bbcf0f39b9c85bc270728343f61dabebce2d (diff)
downloadvcxsrv-9b17452909d3140fa33a753cadfaa6e9006b9685.tar.gz
vcxsrv-9b17452909d3140fa33a753cadfaa6e9006b9685.tar.bz2
vcxsrv-9b17452909d3140fa33a753cadfaa6e9006b9685.zip
Git update 14/12/2009
Diffstat (limited to 'xorg-server/os')
-rw-r--r--xorg-server/os/backtrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/os/backtrace.c b/xorg-server/os/backtrace.c
index dafb9904b..7ca6dab6d 100644
--- a/xorg-server/os/backtrace.c
+++ b/xorg-server/os/backtrace.c
@@ -48,10 +48,10 @@ void xorg_backtrace(void)
mod = (info.dli_fname && *info.dli_fname) ? info.dli_fname : "(vdso)";
if (info.dli_saddr)
ErrorF("%d: %s (%s+0x%lx) [%p]\n", i, mod,
- info.dli_sname, (char *) array[i] - (char *) info.dli_saddr, array[i]);
+ info.dli_sname, (long unsigned int)((char *) array[i] - (char *) info.dli_saddr), array[i]);
else
ErrorF("%d: %s (%p+0x%lx) [%p]\n", i, mod,
- info.dli_fbase, (char *) array[i] - (char *) info.dli_fbase, array[i]);
+ info.dli_fbase, (long unsigned int)((char *) array[i] - (char *) info.dli_fbase), array[i]);
}
}