* 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.
&& strcmp(OS_TYPE, argv[2]) != 0) return(0);
fprintf(stderr, "^^^^Starting command^^^^\n");
fflush(stdout);
- execvp(TRUSTED_STRING(argv[3]), argv+3);
+ execvp(TRUSTED_STRING(argv[3]), (void *)(argv + 3));
perror("Couldn't execute");
Usage:
#endif
printf("^^^^Starting command^^^^\n");
fflush(stdout);
- execvp(TRUSTED_STRING(argv[2]), argv+2);
+ execvp(TRUSTED_STRING(argv[2]), (void *)(argv + 2));
exit(1);
Usage: