Revision 56a1a3ab449df33268776a8b72a301d3ee67ad8d authored by Johannes Schindelin on 26 October 2015, 13:15:25 UTC, committed by Junio C Hamano on 26 October 2015, 20:24:03 UTC
When calculating hashes from pointers, it actually makes sense to cut
off the most significant bits. In that case, said warning does not make
a whole lot of sense.

So let's just work around it by casting the pointer first to intptr_t
and then casting up/down to the final integral type.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 8f77442
History
File Mode Size
static
INSTALL -rw-r--r-- 14.4 KB
Makefile -rw-r--r-- 5.5 KB
README -rw-r--r-- 2.3 KB
gitweb.perl -rwxr-xr-x 245.8 KB

README

back to top