X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/e59b4dfbd29ce7a0dc6f84fdb58d16cb31c988d8..0e1a166b287f476e03396c78184211720765aa5e:/gas/config/obj-elf.c diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index efde9c1299..7ab0d578cb 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); }