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-10 18:28:43 +00:00
2022-10-06 19:50:23 +00:00
2022-10-06 19:50:23 +00:00
2022-10-06 15:19:43 -07:00
2022-10-31 16:55:53 +00:00
2023-07-03 01:08:15 +01:00
2023-06-12 11:12:17 -07:00
2023-11-28 21:02:25 -05:00
2022-10-18 20:53:00 +00:00
2022-10-25 18:06:05 +00:00
2023-12-12 13:36:11 -08:00
2023-11-28 21:02:25 -05:00
2022-10-22 03:17:48 +00:00
2023-04-27 20:31:58 -05:00
2023-03-24 16:16:31 -03:00
2024-01-08 13:09:58 -08:00
2023-07-03 01:08:15 +01:00
2022-10-11 04:54:44 +00:00
2022-10-13 18:47:47 +00:00
2023-07-03 01:08:15 +01:00
2023-09-07 16:02:32 -03:00
2023-10-19 17:00:01 -04:00
2023-05-03 11:01:11 -07:00
2022-11-02 07:17:33 +00:00
2023-09-21 10:59:03 -04:00
2023-03-20 16:36:21 -07:00
2023-12-12 13:36:11 -08:00
2022-10-18 20:53:00 +00:00
2022-10-18 22:04:30 +00:00
2023-07-03 01:08:15 +01:00
2023-11-28 21:02:25 -05:00
2022-10-05 07:38:55 +00:00
2023-04-20 14:53:41 -05:00
2023-12-12 13:36:11 -08:00
2023-12-12 13:36:11 -08:00
2022-10-18 20:53:00 +00:00
2022-10-05 07:38:55 +00:00
2023-08-14 01:56:32 +01:00
2022-10-05 07:38:55 +00:00
2022-10-18 20:53:00 +00:00
2023-07-21 15:36:36 -05:00
2023-09-13 10:49:39 -03:00
2023-03-20 16:36:21 -07:00
2023-03-20 16:36:21 -07:00