1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-05 08:47:56 +01:00
git/compat/regex
Johannes Schindelin 56a1a3ab44 Silence GCC's "cast of pointer to integer of a different size" warning
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>
2015-10-26 13:24:03 -07:00
..
regcomp.c Silence GCC's "cast of pointer to integer of a different size" warning 2015-10-26 13:24:03 -07:00
regex.c compat/regex: fix spelling and grammar in comments 2013-04-12 12:23:44 -07:00
regex.h compat/regex: get the gawk regex engine to compile within git 2010-08-18 14:06:54 -07:00
regex_internal.c compat/regex: fix spelling and grammar in comments 2013-04-12 12:23:44 -07:00
regex_internal.h compat/regex: use the regex engine from gawk for compat 2010-08-18 14:06:48 -07:00
regexec.c typofix: in-code comments 2013-07-22 16:06:49 -07:00