Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-12-15 01:24:22 +0300
committerJunio C Hamano <gitster@pobox.com>2023-12-15 01:38:08 +0300
commited9f41480a32fff7f3ec66ba2d4bf618885e6ad2 (patch)
tree29c2f4e70e49bf7dc51bd3ef291f9e176083d466 /pack-bitmap.c
parentb96289a10b6577c8fb60b425dbd009f6966622f8 (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