| commit | 6288e3e180c0b911e6f7062f1e744a25568f7d22 | [log] [tgz] |
|---|---|---|
| author | Jonathan Nieder <jrnieder@gmail.com> | Mon Feb 28 15:16:59 2011 -0600 |
| committer | Jonathan Nieder <jrnieder@gmail.com> | Mon Feb 28 15:25:12 2011 -0600 |
| tree | 5d1cb4f74f1a5943433c3a3fa0fb43fad45952ea | |
| parent | a62bbf8f01c6b19cd1a5cf92a98f612176aa2b67 [diff] |
fast-import: make code "-Wpointer-arith" clean The dereference() function to peel a tree-ish and find the underlying tree expects arithmetic to (void *) to work on byte addresses. We should be reading the text of objects through a char * anyway. Noticed-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>