about summary refs log tree commit diff
path: root/sysdeps/i386/backtrace.c
diff options
context:
space:
mode:
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 5e84205b04..38635988f4 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.  */