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-12-06 20:20:02 +09:00
2024-12-06 20:20:03 +09:00
2024-10-25 14:02:36 -04:00
2024-09-13 14:32:24 -07:00
2024-10-11 09:37:18 -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-09-13 14:32:24 -07:00
2024-11-26 10:36:08 +09:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -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-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-11-26 10:36:08 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-11-26 10:36:08 +09:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-11-01 12:53:19 -04:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:33:30 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:03 +09: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-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:33:30 -07:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-11-26 10:36:08 +09:00
2024-12-06 20:20:02 +09:00
2024-11-21 08:23:45 +09:00
2024-10-14 12:33:02 -04:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-11-04 22:37:51 -08:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:03 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-11-26 10:36:08 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-11-26 10:36:08 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:03 +09:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:33:30 -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-12-06 20:20:03 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:03 +09:00
2024-12-04 10:14:47 +09:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:33:30 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-11-21 07:59:14 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:03 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:03 +09:00
2024-12-06 20:20:02 +09:00
2024-09-30 11:23:09 -07:00
2024-12-06 20:20:03 +09:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -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-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-12-06 20:20:02 +09:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-12-06 20:20:02 +09:00
2024-09-23 10:35:09 -07:00