1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Jonathan Brossard <endrazine@gmail.com>
Date: Mon, 15 Sep 2025 09:20:11 +0200
Subject: Improve compatibility with latest gcc versions.
Origin: upstream, https://github.com/endrazine/wcc/commit/3dfd28cb53b4766032e1113cf508bf2f5dce87d5
Forwarded: not-needed
Last-Update: 2025-10-06
---
src/wsh/wsh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wsh/wsh.c b/src/wsh/wsh.c
index cf4acaf..01bc408 100644
--- a/src/wsh/wsh.c
+++ b/src/wsh/wsh.c
@@ -2275,7 +2275,7 @@ static int libcall(lua_State * L)
{
unsigned long int *arg[10] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
unsigned int i = 0;
- void *(*f) () = 0;
+ void *(*f) (void *arg1, void *arg2, void *arg3, void *arg4, void *arg5, void *arg6, void *arg7, void *arg8) = 0;
void *ret = 0;
int callerrno = 0;
int argnum = 0;
|