Patrick Steinhardt
47d72a74a7
diff.h: fix index used to loop through unsigned integer
...
The `struct diff_flags` structure is essentially an array of flags, all
of which have the same type. We can thus use `sizeof()` to iterate
through all of the flags, which we do in `diff_flags_or()`. But while
the statement returns an unsigned integer, we used a signed integer to
iterate through the flags, which generates a warning.
Fix this by using `size_t` for the index instead.
Signed-off-by: Patrick Steinhardt <ps@pks.im >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-12-06 20:20:03 +09:00
..
2024-08-13 10:01:05 -07:00
2024-07-02 09:59:00 -07:00
2024-12-06 20:20:02 +09:00
2024-06-14 09:34:39 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-04-05 15:21:14 -07:00
2023-10-02 14:57:40 -07:00
2023-07-05 11:41:59 -07:00
2024-12-06 20:20:02 +09:00
2024-06-14 10:26:33 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2023-09-29 15:14:57 -07:00
2024-08-26 11:32:23 -07:00
2024-10-25 17:35:46 -04:00
2024-06-14 10:26:33 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-08-17 09:46:11 -07:00
2024-08-05 10:59:20 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-12-06 20:20:02 +09:00
2024-06-14 10:26:33 -07:00
2024-12-06 20:20:02 +09:00
2024-09-30 11:23:05 -07:00
2024-12-06 20:20:02 +09:00
2024-02-08 16:22:11 -08:00
2024-09-30 11:23:08 -07:00
2024-09-05 09:07:12 -07:00
2024-12-06 20:20:02 +09:00
2024-11-04 22:37:56 -08:00
2024-11-21 08:23:45 +09:00
2024-08-22 09:18:05 -07:00
2024-12-06 20:20:02 +09:00
2024-10-02 07:53:53 -07:00
2024-06-07 10:30:48 -07:00
2024-08-01 08:47:37 -07:00
2024-12-06 20:20:03 +09:00
2024-10-10 13:31:13 -07:00
2024-12-06 20:20:02 +09:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-12-26 12:04:31 -08:00
2024-12-06 20:20:02 +09:00
2024-06-14 10:26:33 -07:00
2024-09-27 08:25:35 -07:00
2024-06-14 10:26:33 -07:00
2024-12-06 20:20:02 +09:00
2024-09-16 14:22:53 -07:00
2024-12-06 20:20:02 +09:00
2023-10-13 13:33:35 -07:00
2024-08-13 10:01:05 -07:00
2023-06-21 13:39:54 -07:00
2024-06-14 10:26:33 -07:00