2012-01-19 Tristan Gingold <gingold@adacore.com>

* dwarf.c (process_extended_line_op): Add a cast to silent a
	warning.
This commit is contained in:
Tristan Gingold 2012-01-19 13:58:15 +00:00
parent 4932389582
commit 2fc0fe4faa
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-01-19 Tristan Gingold <gingold@adacore.com>
* dwarf.c (process_extended_line_op): Add a cast to silent a
warning.
2012-01-19 Tristan Gingold <gingold@adacore.com>
* dwarf.c (process_extended_line_op): Reindent define_file output.

View File

@ -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;