Johannes Schindelin
da17ddcf28
pack-objects: drop cast_size_t_to_ulong shims in get_delta()
...
The two shims that 606c192380 (odb, packfile: use size_t for
streaming object sizes, 2026-05-08) and the subsequent
odb_read_object() widening introduced as scaffolding around
get_delta()'s reads can now disappear: the previous commit widened
diff_delta() to size_t, which was the last narrow consumer in this
function.
Widen size and base_size to size_t outright, drop the size_st /
base_size_st bridging temporaries, and drop the two
cast_size_t_to_ulong() calls. Net change is 4 lines smaller and one
read-then-cast indirection gone from each odb read.
Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
2026-06-26 08:57:55 +00:00
..
2026-06-24 11:19:11 -07:00
2026-04-10 07:58:53 -07:00
2026-05-19 15:05:46 +09:00
2026-05-24 18:41:06 +09:00
2026-06-11 05:05:54 -07:00
2026-06-11 05:05:54 -07:00
2026-06-25 19:49:56 -07:00
2026-06-26 08:57:53 +00:00
2026-06-11 05:05:54 -07:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-06-25 19:49:43 -07:00
2026-05-19 19:36:25 +09:00
2026-05-26 20:46:24 +09:00
2026-06-03 08:39:54 +09:00
2026-06-25 19:49:49 -07:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-06-15 07:45:41 -07:00
2026-06-26 08:57:53 +00:00
2026-06-26 08:57:53 +00:00
2026-05-19 15:05:46 +09:00
2026-06-25 19:49:25 -07:00
2026-03-03 10:20:00 -08:00
2026-06-15 07:45:41 -07:00
2026-04-15 08:44:34 -07:00
2026-06-25 19:49:15 -07:00
2026-06-25 19:49:55 -07:00
2026-05-19 19:36:25 +09:00
2026-05-19 19:36:24 +09:00
2026-06-25 19:51:54 -07:00
2026-04-10 07:58:55 -07:00
2026-06-24 10:12:35 -07:00
2026-06-11 05:05:54 -07:00
2026-03-27 11:00:02 -07:00
2026-06-09 11:11:46 -07:00
2026-06-26 08:57:53 +00:00
2026-06-21 16:41:38 -07:00
2026-06-15 07:45:41 -07:00
2026-05-12 09:33:43 +09:00
2026-05-19 19:36:25 +09:00
2026-06-15 07:45:41 -07:00
2026-05-27 14:15:44 +09:00
2026-06-15 07:45:41 -07:00
2026-03-12 10:03:23 -07:00
2026-06-25 19:49:51 -07:00
2026-06-25 19:49:25 -07:00
2026-05-19 09:57:44 +09:00
2026-06-25 19:49:42 -07:00
2026-06-26 08:57:55 +00:00
2026-05-20 11:33:24 +09:00
2026-06-24 15:21:12 -07:00
2026-05-19 19:36:24 +09:00
2026-06-15 10:17:26 -07:00
2026-06-24 11:19:11 -07:00
2026-06-17 05:23:54 -07:00
2026-06-25 19:49:42 -07:00
2026-06-25 19:49:51 -07:00
2026-06-26 08:57:53 +00:00
2026-06-22 08:38:37 -07:00
2026-06-26 08:57:53 +00:00
2026-06-11 05:05:54 -07:00
2026-04-06 12:02:30 -07:00
2026-06-25 19:49:21 -07:00
2026-05-19 19:36:24 +09:00
2026-05-19 15:05:46 +09:00
2026-06-09 11:11:46 -07:00
2026-03-31 20:43:14 -07:00
2026-06-15 07:42:00 -07:00
2026-06-26 08:57:53 +00:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-06-15 07:45:41 -07:00
2026-06-15 07:45:41 -07:00
2026-06-26 08:57:53 +00:00
2026-06-24 11:19:11 -07:00
2026-05-05 16:34:08 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-06 09:48:28 +09:00
2026-04-10 07:58:53 -07:00