Files
coreutils/src
Paul Eggert 834ea48535 maint: pacify GCC 16 -Wuseless-cast
This mostly either removes casts if they are always no-ops, or
replaces casts (TYPE)(EXPR) with compound literals (TYPE){EXPR}.
Compound literals are a bit safer anyway, as casts are too
powerful in C.
* src/cksum_avx2.c (cksum_avx2):
* src/cksum_avx512.c (cksum_avx512):
* src/cksum_crc.c (cksum_slice8):
* src/cksum_pclmul.c (cksum_pclmul):
* src/cp-hash.c (remember_copied):
* src/numfmt.c (simple_strtod_float):
* src/system.h (x_timestyle_match):
Omit no-op casts.
* src/cp-hash.c (src_to_dest_hash):
* src/dd.c (dd_copy):
* src/df.c (devlist_hash):
* src/env.c (splitbuf_append_byte):
* src/getlimits.c (print_int, main):
* src/ls.c (dev_ino_hash):
* src/truncate.c (do_ftruncate):
Replace casts with compound literals.
* src/factor.c: Ignore -Wuseless-cast, as we include the imported
longlong.h file, which has many of them.
* src/numfmt.c (powerld): 2nd arg is now ptrdiff_t, not int, so
that integers are not silently mishandled in outlandish cases.
2026-05-10 23:42:26 -07:00
..
2026-01-18 15:55:38 +00:00
2026-01-18 15:55:38 +00:00
2026-02-27 16:18:32 -08:00
2026-02-27 16:18:32 -08:00
2026-04-22 19:12:44 -07:00
2026-01-18 15:55:38 +00:00
2026-01-18 15:55:38 +00:00
2026-05-10 23:42:26 -07:00
2026-01-21 13:51:58 +00:00
2026-01-01 10:56:16 -08:00
2026-05-10 23:42:26 -07:00
2026-05-10 23:42:26 -07:00
2026-01-01 10:56:16 -08:00
2026-02-28 19:13:42 -08:00
2026-05-10 23:42:26 -07:00
2026-02-17 18:45:33 -08:00
2026-05-10 23:42:26 -07:00
…
2026-02-19 21:40:44 -08:00
2026-01-18 15:55:38 +00:00
2026-01-18 15:55:38 +00:00
2026-02-27 16:18:32 -08:00
2026-01-01 10:56:16 -08:00
2026-01-18 15:55:38 +00:00
2026-02-19 20:36:47 -08:00
2025-05-12 01:28:48 -07:00
2026-05-10 23:42:26 -07:00
2026-02-19 20:36:40 -08:00
2026-05-10 23:42:26 -07:00
2026-03-25 17:46:37 +00:00
2026-02-06 13:37:58 +00:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-01-18 15:55:38 +00:00
2026-01-01 10:56:16 -08:00
2026-01-18 15:55:38 +00:00
2026-01-01 10:56:16 -08:00
2026-02-19 20:53:20 -08:00
2025-07-09 17:12:40 -07:00
2026-04-16 22:05:13 +01:00
2026-04-09 21:36:43 +01:00
2026-02-27 16:50:36 -08:00
2026-01-01 10:56:16 -08:00
2026-02-27 16:18:32 -08:00
2026-02-27 16:18:32 -08:00
2026-05-10 23:42:26 -07:00
2026-01-18 15:55:38 +00:00
2026-01-18 15:55:38 +00:00
2026-01-01 10:56:16 -08:00
2026-04-30 14:51:23 +01:00
2026-04-08 22:34:13 -07:00
2026-05-10 23:42:26 -07:00
2026-02-19 20:35:19 -08:00
2026-04-29 13:16:43 +01:00
2026-04-28 11:25:41 -07:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-02-19 21:11:27 -08:00