aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorEzekiel Newren <ezekielnewren@gmail.com>2025-10-29 22:19:41 +0000
committerJunio C Hamano <gitster@pobox.com>2025-10-30 07:13:34 -0700
commitd4e4bc0a80a1afc0deb79800a8d7fd88d012bf97 (patch)
tree2043f62e82ed46ac57dca71cd6e573ca9596d648 /commit.c
parentxdiff: use ssize_t for dstart/dend, make them last in xdfile_t (diff)
downloadgit-d4e4bc0a80a1afc0deb79800a8d7fd88d012bf97.tar.gz
git-d4e4bc0a80a1afc0deb79800a8d7fd88d012bf97.zip
xdiff: make xrecord_t.ptr a uint8_t instead of char
Rust uses u8 to refer to bytes in memory. Since xrecord_t.ptr is also referring to bytes in memory, rather than Unicode code points, use uint8_t instead of char. Every usage of this field was inspected and cast to char*, or similar, to avoid signedness warnings/errors from the compiler. Casting was used so that the whole of xdiff doesn't need to be refactored in order to change the type of this field. Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions