[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
- [PATCH 0/8] Fix compilation on OS/2, KO Myung-Hun, 2022/11/20
- [PATCH 1/8] Update README.OS2, KO Myung-Hun, 2022/11/20
- [PATCH 3/8] Fix assignment of read-only location error on OS/2, KO Myung-Hun, 2022/11/20
- [PATCH 4/8] Fix [-Werror=unused-variable] on OS/2, KO Myung-Hun, 2022/11/20
- [PATCH 2/8] Define a HAVE___STRCHRNUL macro properly, KO Myung-Hun, 2022/11/20
- [PATCH 5/8] Fix [-Werror=discarded-qualifiers] on OS/2, KO Myung-Hun, 2022/11/20
- [PATCH 6/8] Fix [-Werror=incompatible-pointer-types] on OS/2,
KO Myung-Hun <=
- [PATCH 7/8] Fix [-Werror=shadow] on OS/2, KO Myung-Hun, 2022/11/20
- [PATCH 8/8] Fix [-Werror=dangling-else] on OS/2, KO Myung-Hun, 2022/11/20