]> git.99rst.org Git - git.git/commit
repack.c: LLP64 compatibility, upcast unity for left shift
authorPhilip Oakley <redacted>
Wed, 1 Dec 2021 00:29:00 +0000 (00:29 +0000)
committerJunio C Hamano <redacted>
Wed, 1 Dec 2021 22:48:09 +0000 (14:48 -0800)
commita43abad1e3bfb20864cd3873a4a8b86f845bae1a
treea64fa7b9261698d4c0d9b0be728e3b92bf99b07a
parent35151cf0720460a897cde9b8039af364743240e7
repack.c: LLP64 compatibility, upcast unity for left shift

Visual Studio reports C4334 "was 64-bit shift intended" warning
because of size mismatch.

Promote unity to the matching type to fit with the `&` operator.

Signed-off-by: Philip Oakley <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/repack.c
git clone https://git.99rst.org/PROJECT