summaryrefslogtreecommitdiffstats
path: root/builtin/clone.c
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-07-24 17:20:23 +0200
committerJunio C Hamano <gitster@pobox.com>2010-07-26 08:14:18 +0200
commit5d314759d787885c2cc389efbfb3aea1c47b56d9 (patch)
treea9b59f44086605bb44bb24f7ce2f90f61d1592f3 /builtin/clone.c
parentgit-read-tree.txt: acknowledge the directory matching bug in sparse checkout (diff)
downloadgit-5d314759d787885c2cc389efbfb3aea1c47b56d9.tar.xz
git-5d314759d787885c2cc389efbfb3aea1c47b56d9.zip
Cast execl*() NULL sentinels to (char *)
The NULL sentinel argument to the execl*() family of calls must be cast to (char *), as otherwise: - platforms where NULL is just 0 (not (void *)) would pass an int - (admittedly esoteric) platforms where NULL is (void *)0 and (void *) and (char *) have different memory layouts would pass the wrong kind of pointer Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/clone.c')
0 files changed, 0 insertions, 0 deletions