Skip to content

Commit

Permalink
satisfy -Werror=discarded-qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
G4Vi committed Sep 2, 2023
1 parent bf2fd72 commit a338eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/calls/fexecve.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static bool ape_to_elf_execve(void *ape, const size_t apesize) {
if (child == -1) {
return false;
} else if (child == 0) {
__sys_execve(_PATH_BSHELL, (char *const[]){_PATH_BSHELL, tempfile, "--assimilate", NULL}, (char *const[]){NULL});
__sys_execve(_PATH_BSHELL, (char *const[]){_PATH_BSHELL, (char*)tempfile, "--assimilate", NULL}, (char *const[]){NULL});
_weaken(exit)(1);
}
int wstatus;
Expand Down

0 comments on commit a338eee

Please sign in to comment.