diff options
| author | Ezekiel Newren <ezekielnewren@gmail.com> | 2025-10-29 22:19:43 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-30 07:13:35 -0700 |
| commit | b1feb22105b9009628b70c88deabddf8f1d664b4 (patch) | |
| tree | acea58379ba284a94653349ef50ca616d0a21eaa /commit.c | |
| parent | xdiff: use size_t for xrecord_t.size (diff) | |
| download | git-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
