Julien Fischer
15b54f5377
Use C99 conversion specifiers in the runtime.
...
C99 introduced additional conversion specifiers for use with the printf and
scanf family of functions. Specifically, the 'z' size specifier for size_t
values and the 't' size specifier for ptrdiff_t values. Historically, we have
not used them because the C99 support in a certain C compiler was lacking.
Since this is no longer the case, use them. This removes the need of a bunch
of casts, some of which were incorrect on 64-bit Windows.
runtime/mercury_accurate_gc.c:
runtime/mercury_memory_zones.c:
runtime/mercury_stacks.c:
runtime/mercury_wrapper.c:
As above.
2026-03-29 03:29:34 +11:00
..
2023-01-23 02:29:13 +11:00
2023-06-26 20:05:24 +10:00
2026-03-29 03:29:34 +11:00
2024-09-02 10:27:50 +10:00
2021-06-06 19:07:20 +10:00
2020-07-24 17:14:07 +10:00
2025-05-20 08:30:52 +10:00
2026-02-01 02:53:04 +11:00
2021-04-09 17:41:23 +10:00
2021-04-09 17:36:38 +10:00
2024-01-26 15:52:35 +11:00
2020-10-25 14:45:35 +11:00
2022-12-29 20:33:08 +11:00
2022-12-29 20:33:08 +11:00
2021-04-09 17:41:23 +10:00
2021-04-09 17:41:23 +10:00
2026-03-13 14:50:15 +11:00
2021-04-09 17:41:23 +10:00
2021-04-09 17:41:23 +10:00
2025-05-16 20:06:52 +10:00
2026-01-29 00:11:37 +11:00
2023-09-09 14:23:50 +10:00
2023-11-06 16:15:34 +11:00
2024-10-14 00:04:09 +11:00
2025-04-30 13:08:12 +10:00
2022-08-23 16:39:48 +10:00
2019-10-08 21:36:11 +11:00
2026-02-01 02:53:04 +11:00
2025-08-09 21:48:23 +02:00
2026-03-27 20:31:33 +11:00
2020-04-11 19:30:58 +10:00
2022-07-05 08:00:12 +10:00
2022-12-29 20:33:08 +11:00
2020-04-28 10:55:18 +10:00
2022-07-05 08:00:12 +10:00
2025-05-03 17:30:04 +10:00
2026-01-26 17:58:53 +11:00
2026-03-29 03:29:34 +11:00
2022-12-29 20:33:08 +11:00
2025-05-20 08:30:52 +10:00
2025-05-05 19:04:56 +10:00
2025-08-25 15:48:28 +02:00
2025-08-25 15:48:28 +02:00
2026-03-13 14:50:15 +11:00
2022-12-29 20:33:08 +11:00
2022-07-05 08:00:12 +10:00
2025-06-19 15:32:14 +02:00
2021-01-13 14:22:21 +11:00
2024-02-20 15:09:17 +11:00
2024-02-20 15:09:17 +11:00
2026-03-12 07:37:54 +11:00
2023-10-22 14:34:42 +11:00
2020-10-13 13:32:32 +11:00
2020-10-13 13:32:32 +11:00
2022-07-05 08:00:12 +10:00
2024-10-02 10:38:02 +02:00
2024-10-02 10:38:02 +02:00
2026-03-29 03:29:34 +11:00
2023-12-03 00:19:48 +11:00
2024-04-28 16:49:18 +10:00
2024-04-02 12:44:41 +11:00
2021-04-09 17:41:23 +10:00
2025-03-28 17:35:32 +11:00
2021-04-09 17:41:23 +10:00
2024-08-29 11:46:44 +10:00
2025-03-29 05:27:40 +11:00
2020-01-17 17:09:49 +11:00
2020-02-18 13:07:24 +11:00
2020-02-18 13:07:24 +11:00
2022-01-01 15:53:34 +11:00
2021-04-09 17:41:23 +10:00
2023-12-20 15:32:02 +11:00
2021-04-09 17:41:23 +10:00
2022-08-29 10:57:39 +10:00
2022-08-23 16:39:48 +10:00
2026-03-29 03:29:34 +11:00
2022-01-31 14:11:08 +11:00
2020-03-15 17:05:47 +11:00
2022-05-26 12:47:21 +10:00
2026-03-09 09:13:52 +11:00
2020-10-13 13:32:32 +11:00