drop casts from users EMPTY_TREE_SHA1_BIN
authorJeff King <peff@peff.net>
Thu, 22 Mar 2012 18:53:24 +0000 (14:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Mar 2012 20:52:05 +0000 (13:52 -0700)
commitcba595bd21fd0731e37898dbd6c5b55f65fd8aea
tree2bd67efd15c4aab92cd7abde661c500a663edeef
parent498a04af143f55a7bbbba484d48a7f123d43be04
drop casts from users EMPTY_TREE_SHA1_BIN

This macro already evaluates to the correct type, as it
casts the string literal to "unsigned char *" itself
(and callers who want the literal can use the _LITERAL
form).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/diff.c
merge-recursive.c
sequencer.c