freebsd-dev/usr.sbin/makefs/ffs
Nathaniel Filardo 7ef082733b 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
2021-06-15 01:22:04 +01:00
..
buf.c makefs: Cast daddr_t to off_t before multiplication 2021-06-15 01:22:04 +01:00
buf.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ffs_alloc.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ffs_balloc.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ffs_bswap.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ffs_extern.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02: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-06-15 01:22:04 +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