2011-04-01 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Fri, 1 Apr 2011 08:56:21 +0000 (08:56 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 1 Apr 2011 08:56:21 +0000 (08:56 +0000)
* config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.

gas/ChangeLog
gas/config/tc-ia64.c

index 243ccbd..3eaa376 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-01  Tristan Gingold  <gingold@adacore.com>
+
+       * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
+
 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
 
        * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
index 95f953f..8d70635 100644 (file)
@@ -11286,7 +11286,7 @@ md_apply_fix (fixS *fix, valueT *valP, segT seg ATTRIBUTE_UNUSED)
     }
   if (fix->fx_addsy)
     {
-      switch (fix->fx_r_type)
+      switch ((unsigned) fix->fx_r_type)
        {
        case BFD_RELOC_UNUSED:
          /* This must be a TAG13 or TAG13b operand.  There are no external