From 592588f3f8da9c17397807caeb3ed66039784ecc Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 1 Apr 2011 08:56:21 +0000 Subject: [PATCH] 2011-04-01 Tristan Gingold * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning. --- gas/ChangeLog | 4 ++++ gas/config/tc-ia64.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 243ccbd3a2d..3eaa37677af 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-04-01 Tristan Gingold + + * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning. + 2011-03-31 Bernd Schmidt * 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 95f953fa2af..8d70635e207 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 -- 2.30.2