From: Oliver Schmidt
Date: Mon, 3 Mar 2014 21:38:41 +0000 (+0100)
Subject: Adjusted spawn files to recent change II.
X-Git-Tag: V2.15~136
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b68507d8a530efbcfa113d1e4627ec73ac0f9796;p=cc65
Adjusted spawn files to recent change II.
---
diff --git a/src/cl65/spawn-unix.inc b/src/cl65/spawn-unix.inc
index 093e35935..1784123ac 100644
--- a/src/cl65/spawn-unix.inc
+++ b/src/cl65/spawn-unix.inc
@@ -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));
}