]> granicus.if.org Git - gc/commit
Fix 'execvp argument incompatible pointer type' compiler warning (tools)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 9 Jan 2017 21:03:07 +0000 (00:03 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 17:21:45 +0000 (20:21 +0300)
commit7fc70d038cbaa26b9a482358f7391144914a3d22
tree008e3c20ae4cadcc9ab7e08f7b907009f1293d91
parent473c0286d3a84747d73be6e7b4eefa894a996714
Fix 'execvp argument incompatible pointer type' compiler warning (tools)

* tools/if_mach.c (main): Cast the 2nd argument of execvp to void* (to
avoid compiler warning as the argument of execvp() prototype could be
of "const char* const*" or "char**" type).
* tools/if_not_there.c (main): Likewise.
tools/if_mach.c
tools/if_not_there.c