aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/c_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_fork.c b/src/c_fork.c
index 19d5a0e..c1daca8 100644
--- a/src/c_fork.c
+++ b/src/c_fork.c
@@ -96,7 +96,7 @@ c_get_path
return (1);
}
while (tok != NULL) {
- sprintf(*path, "%s/%s", tok, arg);
+ sprintf(*path, "%s/%s", (char*)tok, arg);
if (access(*path, F_OK) != -1) {
break;
}