aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/backtrace.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-18 21:50:38 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-18 21:50:38 +0000
commitdfab448bd8352b372814ca8df0651612296d8e8e (patch)
tree2f8689370e57fda3b8ef8fb96229c6f51ee62a56 /sysdeps/i386/backtrace.c
parent8cb569b756c19125593e556efa7c380203ff3787 (diff)
downloadglibc-dfab448bd8352b372814ca8df0651612296d8e8e.zip
glibc-dfab448bd8352b372814ca8df0651612296d8e8e.tar.gz
glibc-dfab448bd8352b372814ca8df0651612296d8e8e.tar.bz2
Update.
1998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com> * signal/signal.h: Add prototype for __sigaltstack. * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name. Remove sigstack entry. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here. * sysdeps/unix/sysv/linux/sigstack.c: New file. * sysdeps/i386/backtrace.c: Add casts.
Diffstat (limited to 'sysdeps/i386/backtrace.c')
-rw-r--r--sysdeps/i386/backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/backtrace.c b/sysdeps/i386/backtrace.c
index 5e84205..3863598 100644
--- a/sysdeps/i386/backtrace.c
+++ b/sysdeps/i386/backtrace.c
@@ -55,7 +55,7 @@ __backtrace (array, size)
current = (struct layout *) ebp;
while (cnt < size)
{
- if (current < esp || current > __libc_stack_end)
+ if ((void *) current < esp || (void *) current > __libc_stack_end)
/* This means the address is out of range. Note that for the
toplevel we see a frame pointer with value NULL which clearly is
out of range. */