use regular off_t on 64-bit linuxes

off64_t is legacy of the past.

Update github issue #1407
This commit is contained in:
Aliaksey Kandratsenka 2023-07-13 20:54:38 -04:00
parent 4a923a6b36
commit 37fd4adab4

View File

@ -60,7 +60,7 @@
static inline void* do_mmap64(void *start, size_t length,
int prot, int flags,
int fd, off64_t offset) __THROW {
int fd, off_t offset) __THROW {
#if defined(__s390__)
long args[6] = { (long)start, (long)length, (long)prot, (long)flags,
(long)fd, (long)offset };