summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2019-04-15 03:37:11 +0000
committervisa <visa@openbsd.org>2019-04-15 03:37:11 +0000
commit27e652e85f558f87bba011e98b24689e93a84969 (patch)
tree2a16ea8382f1f3985835bd37e558e7e201559953
parentUse timeout_del_barrier(9) instead of timeout_del(9) followed by (diff)
downloadwireguard-openbsd-27e652e85f558f87bba011e98b24689e93a84969.tar.xz
wireguard-openbsd-27e652e85f558f87bba011e98b24689e93a84969.zip
Add a type cast to silence clang error about an implicit conversion
from unsigned long to int. OK deraadt@ millert@ kettenis@
-rw-r--r--gnu/usr.bin/binutils-2.17/bfd/ecoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/bfd/ecoff.c b/gnu/usr.bin/binutils-2.17/bfd/ecoff.c
index c5360a4303b..6efaeaf8723 100644
--- a/gnu/usr.bin/binutils-2.17/bfd/ecoff.c
+++ b/gnu/usr.bin/binutils-2.17/bfd/ecoff.c
@@ -1878,7 +1878,7 @@ _bfd_ecoff_sizeof_headers (bfd *abfd, bfd_boolean reloc ATTRIBUTE_UNUSED)
ret = (bfd_coff_filhsz (abfd)
+ bfd_coff_aoutsz (abfd)
+ c * bfd_coff_scnhsz (abfd));
- return BFD_ALIGN (ret, 16);
+ return (int) BFD_ALIGN (ret, 16);
}
/* Get the contents of a section. */