2012-01-19 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 19 Jan 2012 13:58:15 +0000 (13:58 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 19 Jan 2012 13:58:15 +0000 (13:58 +0000)
* dwarf.c (process_extended_line_op): Add a cast to silent a
warning.

binutils/ChangeLog
binutils/dwarf.c

index 469aa36466fd71f2167b6a0683d80c121ffd3cbd..bba3eaeeda920161fe5abb090e305930f1037445 100644 (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.
index 26f7cd5b6c7cc3f748446315954e440a689a4d6a..2258c676198b3e2e353e970c11dced88a2b4627f 100644 (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;