Nick Desaulniers ce1305a3ce
[libc] make off_t 32b for 32b arm (#77350)
Fixes the following diagnostic:

    llvm-project/libc/src/sys/mman/linux/mmap.cpp:44:59: error: implicit
conversion loses integer precision: 'off_t' (aka 'long long') to 'long'
    [-Werror,-Wshorten-64-to-32]
     size, prot, flags, fd, offset);
                            ^~~~~~

It looks like off_t is a curious types on different platforms. FWICT,
it's 32b
on arm (at least for arm-linux-gnueabi) but 64b elsewhere (including 32b
riscv32-linux-gnu).
2024-01-08 13:09:58 -08:00
..
2022-10-06 15:19:43 -07:00
2022-10-31 16:55:53 +00:00
2023-06-12 11:12:17 -07:00
2022-09-29 10:23:21 -07:00
2023-05-03 11:01:11 -07:00
2023-03-20 16:36:21 -07:00
2023-12-12 13:36:11 -08:00
2023-03-20 16:36:21 -07:00
2023-03-20 16:36:21 -07:00