bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 6/8] Fix [-Werror=incompatible-pointer-types] on OS/2


From: KO Myung-Hun
Subject: [PATCH 6/8] Fix [-Werror=incompatible-pointer-types] on OS/2
Date: Sun, 20 Nov 2022 23:42:55 +0900

* src/main.c (main) [__EMX__]: Type cast explicitly.
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index eec93656..af3ce702 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2782,7 +2782,7 @@ main (int argc, char **argv, char **envp)
             child.output.syncout = 0;
             child.environment = environ;
 
-            pid = child_execute_job (&child, 1, nargv);
+            pid = child_execute_job (&child, 1, (char **)nargv);
 
             /* is this loop really necessary? */
             do {
-- 
2.30.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]