]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 243ccbd3a2d653408991748149a3f8c93e1fef84..3eaa37677aff09ac8129eb6fdd79b39291be55b0 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 95f953fa2af867d81f28420c4d77bd056b003291..8d70635e20795f8e3b5567c574dd7a6bd078b178 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