aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index efde9c1..7ab0d57 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -721,7 +721,7 @@ obj_elf_change_section (name, type, attr, entsize, push)
& (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
| SEC_EXCLUDE | SEC_SORT_ENTRIES | SEC_MERGE | SEC_STRINGS))
as_warn (_("Ignoring changed section attributes for %s"), name);
- else if ((flags & SEC_MERGE) && old_sec->entsize != entsize)
+ else if ((flags & SEC_MERGE) && old_sec->entsize != (unsigned) entsize)
as_warn (_("Ignoring changed section entity size for %s"), name);
}