git-tar-tree: no more void pointer arithmetic master origin
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Sun, 18 Jun 2006 10:58:01 +0000 (12:58 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 18 Jun 2006 11:18:43 +0000 (04:18 -0700)
commit6698060c15e837babb3b80f980bbed290934a692
treebdd2c93e2d03266f552627302a28775678776d05
parent9236cdd488c26ec09e23adec34f64fd6fca3dc7c
git-tar-tree: no more void pointer arithmetic

Noticed by Florian Forster: Use a char pointer when adding offsets,
because void pointer arithmetic is a GNU extension.   Const'ify the
function arguments while we're at it.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-tar-tree.c