Fix os_wait return type mismatch in UNIX implementation

This commit is contained in:
Andrea Mazzoleni 2026-08-12 10:30:41 +02:00
parent 1c3f695d5a
commit 03831386f0

View file

@ -1327,9 +1327,9 @@ pid_t os_spawn(char** argv, int* stdout_read_fd, int* stderr_read_fd, const char
return pid;
}
int os_wait(pid_t pid, int* status)
pid_t os_wait(pid_t pid, int* status)
{
int ret;
pid_t ret;
do {
ret = waitpid(pid, status, 0);