diff options
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 243ccbd..3eaa376 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 95f953f..8d70635 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -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 |