mirror of
https://github.com/git/git.git
synced 2025-12-18 12:00:25 +01:00
All callers pass a nonnegative delta_len, so the code is already safe. Add an assertion to ensure that remains so and add a cast to keep clang and gcc -Wsign-compare from worrying. Reported-by: David Barr <davidbarr@google.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
8.0 KiB
8.0 KiB