~leon_plickat/lavalauncher

542e8c9488890c87a39c3a128275ad8035061552 — Jan Beich a month ago bed218c
types: avoid casting to non-standard __off64_t

off_t is always 64-bit on BSDs but only FreeBSD added off64_t compatibility.
Meson passes -D_FILE_OFFSET_BITS=64 by default, so there's no need for off64_t.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/types/buffer.c
M src/types/buffer.c => src/types/buffer.c +1 -1
@@ 78,7 78,7 @@ static bool get_shm_fd (int *fd, size_t size)
		if ( *fd >= 0 )
		{
			shm_unlink(name);
			if ( ftruncate(*fd, (__off64_t)size) < 0 )
			if ( ftruncate(*fd, (off_t)size) < 0 )
			{
				close(*fd);
				return false;