]> git.ipfire.org Git - thirdparty/git.git/commit
diffcore-delta.c: LLP64 compatibility, upcast unity for left shift
authorPhilip Oakley <philipoakley@iee.email>
Wed, 1 Dec 2021 00:29:01 +0000 (00:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Dec 2021 22:48:10 +0000 (14:48 -0800)
commit62e8452c8c0ecdd7af5ff1e0c8cefaf153216d12
tree061f107829779217d63cb7301b09a226fd681360
parenta43abad1e3bfb20864cd3873a4a8b86f845bae1a
diffcore-delta.c: LLP64 compatibility, upcast unity for left shift

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

Promote unity to the matching type to fit with its subsequent operation.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-delta.c