opnsense-src/usr.sbin/makefs/ffs
Nathaniel Filardo d2c77ce6f3 makefs: Cast daddr_t to off_t before multiplication
Apparently some large-file systems out there, such as my powerpc64le
Linux box, define daddr_t as a 32-bit type, which is sad and stymies
cross-building disk images.  Cast daddr_t to off_t before doing
arithmetic that overflows.

Reviewed by:	arichardson, jrtc27, imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D27458

(cherry picked from commit 7ef082733b)
2021-09-07 13:06:44 +01:00
..
buf.c makefs: Cast daddr_t to off_t before multiplication 2021-09-07 13:06:44 +01:00
buf.h makefs: share denode.h between kernel msdosfs and makefs 2019-08-21 19:07:13 +00:00
ffs_alloc.c makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
ffs_balloc.c makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
ffs_bswap.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ffs_extern.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ffs_subr.c Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
Makefile.inc makefs: tidy up reach-over source 2018-04-20 22:23:38 +00:00
mkfs.c makefs: Cast daddr_t to off_t before multiplication 2021-09-07 13:06:44 +01:00
newfs_extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ufs_bmap.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ufs_bswap.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ufs_inode.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00