Code

build: make code "-Wpointer-arith" clean
authorJunio C Hamano <gitster@pobox.com>
Tue, 2 Feb 2010 06:04:03 +0000 (22:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Feb 2010 06:04:03 +0000 (22:04 -0800)
commitb8bba419250711a69e09e7648e5c991f4847a127
treefbf3e2a7c4f36d21ec68d3eed85a13ac6e0d474b
parent562d53fa69933b3ade2691b99cbe67722313f43c
build: make code "-Wpointer-arith" clean

Recently introduced resolve_undo_read() expected arithmetic to (void *)
to work on byte-addresses.  Correct this.

Noticed by Brandon Casey.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
resolve-undo.c
resolve-undo.h