summaryrefslogtreecommitdiff
path: root/t/t5100/patch0001
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-03-05 06:46:38 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-06 12:03:40 -0800
commit3255e512a8594cc5f811aea0dd769429c0f0d614 (patch)
treef3f1bfc8f8ec06f340d3e7986f2a64922c2f7b6c /t/t5100/patch0001
parentMerge branch 'jk/pack-bitmap' (diff)
downloadtgif-3255e512a8594cc5f811aea0dd769429c0f0d614.tar.xz
ewah: fix eword_t/uint64_t confusion
The ewah subsystem typedefs eword_t to be uint64_t, but some code uses a bare uint64_t. This isn't a bug now, but it's a potential maintenance problem if the definition of eword_t ever changes. Let's use the correct type. Note that we can't use COPY_ARRAY() here because the source and destination point to objects of different sizes. For that reason we'll also skip the usual "sizeof(*dst)" and use the real type, which should make it more clear that there's something tricky going on. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/patch0001')
0 files changed, 0 insertions, 0 deletions