mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-27 13:21:17 -05:00
blame: widen find_line_starts() len parameter to size_t
Prep for the upcoming blame_scoreboard.final_buf_size widening: prepare_lines() will pass a size_t through to find_line_starts(), and the other caller (fill_origin_blob() via o->file.size) already goes through long->size_t promotion. The function is file-static and only uses len as a loop bound. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Reference in New Issue
Block a user