diff options
author | marha <marha@users.sourceforge.net> | 2009-10-21 19:07:36 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-21 19:07:36 +0000 |
commit | 1f876171067c04fc21fccd5a3051f982fd85c0f0 (patch) | |
tree | 1f7883e3e5f5ef5cd401ee7c70dd5e679efd0615 /xorg-server/os/backtrace.c | |
parent | 7687adcc34c9fc43d526f30b1cf2039b0af48841 (diff) | |
download | vcxsrv-1f876171067c04fc21fccd5a3051f982fd85c0f0.tar.gz vcxsrv-1f876171067c04fc21fccd5a3051f982fd85c0f0.tar.bz2 vcxsrv-1f876171067c04fc21fccd5a3051f982fd85c0f0.zip |
Updated to xorg-server-1.7.99.1
Diffstat (limited to 'xorg-server/os/backtrace.c')
-rw-r--r-- | xorg-server/os/backtrace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/os/backtrace.c b/xorg-server/os/backtrace.c index a421140fb..dafb9904b 100644 --- a/xorg-server/os/backtrace.c +++ b/xorg-server/os/backtrace.c @@ -38,7 +38,7 @@ void xorg_backtrace(void) { void *array[64]; - char *mod; + const char *mod; int size, i; Dl_info info; ErrorF("\nBacktrace:\n"); @@ -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, array[i] - info.dli_saddr, array[i]); + info.dli_sname, (char *) array[i] - (char *) info.dli_saddr, array[i]); else ErrorF("%d: %s (%p+0x%lx) [%p]\n", i, mod, - info.dli_fbase, array[i] - info.dli_fbase, array[i]); + info.dli_fbase, (char *) array[i] - (char *) info.dli_fbase, array[i]); } } |