]> Kevux Git Server - rit/commit
csum-file: define hashwrite's count as a uint32_t
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 7 Feb 2026 20:04:38 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Feb 2026 01:41:02 +0000 (17:41 -0800)
commit0a0f6b97e9bd41c1ed6b386b99a52e62ea72e4a6
treeafc1d1e7b6eb3ee4dd8f205dfb809b0e2cd9956f
parent86215ab0cc632026a95aa955ebe94c8f33ff2be6
csum-file: define hashwrite's count as a uint32_t

We want to call this code from Rust and ensure that the types are the
same for compatibility, which is easiest to do if the type is a fixed
size.  Since unsigned int is 32 bits on all the platforms we care about,
define it as a uint32_t instead.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
csum-file.c
csum-file.h