]> 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, 9 Jan 2017 21:03:07 +0000 (00:03 +0300)
commit15ddf56a1e7bd69d7375621b46515883e0b66274
tree7809e85c7a9c67d9bf112220e85cf2d91edb027b
parent16a3c597744553557d38187f921abba6394e8206
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