aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorEzekiel Newren <ezekielnewren@gmail.com>2025-10-29 22:19:43 +0000
committerJunio C Hamano <gitster@pobox.com>2025-10-30 07:13:35 -0700
commitb1feb22105b9009628b70c88deabddf8f1d664b4 (patch)
treeacea58379ba284a94653349ef50ca616d0a21eaa /commit.c
parentxdiff: use size_t for xrecord_t.size (diff)
downloadgit-b1feb22105b9009628b70c88deabddf8f1d664b4.tar.gz
git-b1feb22105b9009628b70c88deabddf8f1d664b4.zip
xdiff: use unambiguous types in xdl_hash_record()
Convert the function signature and body to use unambiguous types. char is changed to uint8_t because this function processes bytes in memory. unsigned long to uint64_t so that the hash output is consistent across platforms. `flags` was changed from long to uint64_t to ensure the high order bits are not dropped on platforms that treat long as 32 bits. 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