]> 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 18:59:25 +0000 (21:59 +0300)
commitf46331fc9901375afeacc24b262e0a73c22cffb6
tree4368ee1d79a44f7ad1c4c8e762afa8f37fc35e8d
parent2f7c8923cdb624bef4a52c481864c45efc0d6069
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