midx: use hashwrite_be64()
authorRené Scharfe <redacted>
Thu, 12 Nov 2020 12:22:16 +0000 (13:22 +0100)
committerJunio C Hamano <redacted>
Thu, 12 Nov 2020 17:40:08 +0000 (09:40 -0800)
commitef1b853c15d443b057e5a6306c89b869168a8270
tree57448ffa4afd1d6648c4a7954b8c2842e0a897a4
parent54273d1042b7a7e9a5635ccf15363eec819cb951
midx: use hashwrite_be64()

Call hashwrite_be64() to write 64-bit values instead of open-coding it
using hashwrite_be32() and sizeof.  This shortens the code and makes its
intent clearer.

Signed-off-by: René Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
midx.c
git clone https://git.99rst.org/PROJECT