]> git.99rst.org Git - git.git/commit
remote: fix sign-compare warnings in push_cas_option
authorUsman Akinyemi <redacted>
Sun, 3 May 2026 15:34:00 +0000 (21:04 +0530)
committerJunio C Hamano <redacted>
Mon, 4 May 2026 01:11:17 +0000 (10:11 +0900)
commit6ab1b3b74d02151e7570b82554e9cadebe0ea6b8
treed3015f13433a991f477cbe31bfd2a67ce0894402
parentca1db8a0f7dc0dbea892e99f5b37c5fe5861be71
remote: fix sign-compare warnings in push_cas_option

Replace `int` with `size_t` for `nr` and `alloc` in
`struct push_cas_option` to avoid -Werror=sign-compare
warnings when comparing against size-based values.

Suggested-by: Junio C Hamano <redacted>
Signed-off-by: Usman Akinyemi <redacted>
Signed-off-by: Junio C Hamano <redacted>
remote.h
git clone https://git.99rst.org/PROJECT