1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00

Adjusted spawn files to recent change II.

This commit is contained in:
Oliver Schmidt 2014-03-03 22:38:41 +01:00
parent 574bda3e4e
commit b68507d8a5

View File

@ -81,7 +81,7 @@ int spawnvp (int Mode attribute ((unused)), const char* File, const char* const
} else if (pid == 0) {
/* The son - exec the program */
if (execvp (File, argv) < 0) {
if (execvp (File, (char* const *) argv) < 0) {
Error ("Cannot exec `%s': %s", File, strerror (errno));
}