diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-04-01 08:56:21 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-04-01 08:56:21 +0000 |
commit | 592588f3f8da9c17397807caeb3ed66039784ecc (patch) | |
tree | c283725e4d95d27e62adaba0ba39386ddd3c95a8 | |
parent | 6f8027aeb7caebbff6be6d72adb6bed86a16d210 (diff) | |
download | gdb-592588f3f8da9c17397807caeb3ed66039784ecc.zip gdb-592588f3f8da9c17397807caeb3ed66039784ecc.tar.gz gdb-592588f3f8da9c17397807caeb3ed66039784ecc.tar.bz2 |
2011-04-01 Tristan Gingold <gingold@adacore.com>
* config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
-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 |