harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e026ec4eca56361c32685b193a56ddd21e3d48fd
parent bef3effc920a5feb48827194155660504d0a9591
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Mon, 11 Jan 2021 13:55:23 -0500

rt::compile: remove unnecessary cast

Diffstat:
Mrt/compile.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/compile.ha b/rt/compile.ha @@ -14,7 +14,7 @@ export fn compile(src: str) int = { const path = "./harec"; const argv: [3]nullable *const char = [path, "-", null]; const envp: [1]nullable *const char = [null]; - execve(path: *const char, &argv, &envp); + execve(path, &argv, &envp); abort(); } else { close(pipefd[0]);