| author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
| Sun, 18 Jun 2006 10:58:01 +0000 (12:58 +0200) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Sun, 18 Jun 2006 11:18:43 +0000 (04:18 -0700) | ||
| commit | 6698060c15e837babb3b80f980bbed290934a692 | |
| tree | bdd2c93e2d03266f552627302a28775678776d05 | tree | snapshot |
| parent | 9236cdd488c26ec09e23adec34f64fd6fca3dc7c | commit | diff |
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>
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 | diff | blob | history |