aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-18 03:42:28 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-18 03:42:28 +0000
commit887432a5a562b3c5b743a4e9ef26f95f9ca772f7 (patch)
tree8d55b6f2a8cb863760d29c47c6ec5f8f7eb92ca3 /gdb/mdebugread.c
parent29182b132f1e74decd7acc057931669c16fff0a9 (diff)
downloadgdb-887432a5a562b3c5b743a4e9ef26f95f9ca772f7.zip
gdb-887432a5a562b3c5b743a4e9ef26f95f9ca772f7.tar.gz
gdb-887432a5a562b3c5b743a4e9ef26f95f9ca772f7.tar.bz2
2004-01-17 Andrew Cagney <cagney@redhat.com>
* mdebugread.c (compare_blocks): Make addr_diff a LONGEST. * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK enums.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 71474a9..ae1ea7d 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -4509,7 +4509,7 @@ add_line (struct linetable *lt, int lineno, CORE_ADDR adr, int last)
static int
compare_blocks (const void *arg1, const void *arg2)
{
- int addr_diff;
+ LONGEST addr_diff;
struct block **b1 = (struct block **) arg1;
struct block **b2 = (struct block **) arg2;