HomeFreeBSD

bfd: cast BFD_ALIGN to fix clang error on mips

Description

bfd: cast BFD_ALIGN to fix clang error on mips

error: implicit conversion from 'bfd_vma' (aka 'unsigned long long')
to 'int' changes value from 18446744073709551615 to -1

return BFD_ALIGN (ret, 16);
~~~~~~ ^~~~~~~~~~~~~~~~~~~

note: expanded from macro 'BFD_ALIGN'

: ~ (bfd_vma) 0)
  ^~~~~~~~~~~~~

Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS322669: In fetch_resolve(), if the port number or service name is included in
Branches
Unknown
Tags
Unknown