aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-01-19 13:58:15 +0000
committerTristan Gingold <gingold@adacore.com>2012-01-19 13:58:15 +0000
commit2fc0fe4faa2bee97a91ad1948900778c459ce977 (patch)
treef2485eb277ce2e66572a6516850421616cad5121 /binutils/dwarf.c
parent4932389582c529bfc28a553381a422ba6e0ec728 (diff)
downloadgdb-2fc0fe4faa2bee97a91ad1948900778c459ce977.zip
gdb-2fc0fe4faa2bee97a91ad1948900778c459ce977.tar.gz
gdb-2fc0fe4faa2bee97a91ad1948900778c459ce977.tar.bz2
2012-01-19 Tristan Gingold <gingold@adacore.com>
* dwarf.c (process_extended_line_op): Add a cast to silent a warning.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 26f7cd5..2258c67 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -291,7 +291,7 @@ process_extended_line_op (unsigned char *data, int is_stmt)
printf ("%s\t", dwarf_vmatoa ("u", read_leb128 (data, & bytes_read, 0)));
data += bytes_read;
printf ("%s", name);
- if (data - orig_data != len)
+ if ((unsigned int) (data - orig_data) != len)
printf (_(" [Bad opcode length]"));
printf ("\n\n");
break;