* coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
[deliverable/binutils-gdb.git] / bfd / coff-alpha.c
index d0db6a85e300c7bd3bfd305396d481ef11b04d12..cad190f597bbc9dab3fc1f5c68fd7f347fea106f 100644 (file)
@@ -1334,7 +1334,7 @@ alpha_convert_external_reloc (output_bfd, info, input_bfd, ext_rel, h)
          break;
        }
 
-      if (r_symndx == -1)
+      if (r_symndx == (unsigned long) -1)
        abort ();
 
       /* Add the section VMA and the symbol value.  */
@@ -1347,7 +1347,7 @@ alpha_convert_external_reloc (output_bfd, info, input_bfd, ext_rel, h)
       /* Change the symndx value to the right one for
         the output BFD.  */
       r_symndx = h->indx;
-      if (r_symndx == -1)
+      if (r_symndx == (unsigned long) -1)
        {
          /* Caller must give an error.  */
          r_symndx = 0;
This page took 0.023596 seconds and 4 git commands to generate.