]> git.ipfire.org Git - thirdparty/git.git/commit
csum-file: define hashwrite's count as a uint32_t
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 17 Nov 2025 22:16:14 +0000 (22:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Nov 2025 22:24:15 +0000 (14:24 -0800)
commit0bbba5f98f864380de6e72e073294ee2a3ca07ad
treeff197872f074a7e0c14133d4d3a0c3a97e47e31e
parenta8dfbc133a37df79fe49f71c43b8c07d666f1079
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