aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <>2022-04-29 20:36:30 +0000
committerJozanLeClerc <>2022-04-29 20:36:30 +0000
commit7a0b13e36fd6f20ae96f336143014af0f5cbdf5c (patch)
tree3279465af28bc4648a2df76412203bcf8b099a05
parentAdded README (diff)
downloadbsdsetsid-7a0b13e36fd6f20ae96f336143014af0f5cbdf5c.tar.gz
bsdsetsid-7a0b13e36fd6f20ae96f336143014af0f5cbdf5c.tar.bz2
bsdsetsid-7a0b13e36fd6f20ae96f336143014af0f5cbdf5c.tar.xz
bsdsetsid-7a0b13e36fd6f20ae96f336143014af0f5cbdf5c.tar.zst
bsdsetsid-7a0b13e36fd6f20ae96f336143014af0f5cbdf5c.zip
Update to allow builing on fbsd13 with clang11 as default C compiler
FossilOrigin-Name: 6a32f8846e36bf76b208827848c1cdf4bd7c6a96
-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;
}