diff options
author | Taylor Blau <me@ttaylorr.com> | 2023-12-15 01:24:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-15 01:38:08 +0300 |
commit | ed9f41480a32fff7f3ec66ba2d4bf618885e6ad2 (patch) | |
tree | 29c2f4e70e49bf7dc51bd3ef291f9e176083d466 /pack-bitmap.c | |
parent | b96289a10b6577c8fb60b425dbd009f6966622f8 (diff) |
git-compat-util.h: implement checked size_t to uint32_t conversion
In a similar fashion as other checked cast functions in this header
(such as `cast_size_t_to_ulong()` and `cast_size_t_to_int()`), implement
a checked cast function for going from a size_t to a uint32_t value.
This function will be utilized in a future commit which needs to make
such a conversion.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap.c')
0 files changed, 0 insertions, 0 deletions