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
ffs_alloc.c
ffs_balloc.c
ffs_bswap.c
ffs_extern.h
ffs_subr.c Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
Makefile.inc
mkfs.c makefs: Cast daddr_t to off_t before multiplication 2021-09-07 13:06:44 +01:00
newfs_extern.h
ufs_bmap.c
ufs_bswap.h
ufs_inode.h