This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch devs/devilhorns/apos
in repository efl.
View the commit online.
commit 2e2a97050bd6ce4d15a9468fe7c08033f9bc966a
Author: dimmus <dmitri.chudi...@gmail.com>
AuthorDate: Wed Dec 6 20:28:06 2023 +0500
elua: solve discarded 'const' qualifier warning
---
src/tests/elua/elua_lib.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/tests/elua/elua_lib.c b/src/tests/elua/elua_lib.c
index c21f2a5ebd..d82e053df3 100644
--- a/src/tests/elua/elua_lib.c
+++ b/src/tests/elua/elua_lib.c
@@ -21,9 +21,9 @@ EFL_START_TEST(elua_api)
lua_State *lst;
FILE *f;
int fd;
- char *cargv[2];
- char arg1[] = "test";
- char arg2[] = "test";
+ const char *cargv[2];
+ const char arg1[] = "test";
+ const char arg2[] = "test";
int quit = 0;
cargv[0] = arg1;
cargv[1] = arg2;
@@ -106,14 +106,14 @@ EFL_START_TEST(elua_api)
fprintf(f, "return true");
fclose(f);
cargv[1] = tmpf;
- fail_if(!elua_util_script_run(st, 2, cargv, 1, &quit));
+ fail_if(!elua_util_script_run(st, 2, (char **)cargv, 1, &quit));
fail_if(quit != 1);
f = fopen(tmpf, "wb");
fail_if(!f);
fprintf(f, "return false");
fclose(f);
- fail_if(!elua_util_script_run(st, 2, cargv, 1, &quit));
+ fail_if(!elua_util_script_run(st, 2, (char **)cargv, 1, &quit));
fail_if(quit != 0);
fail_if(remove(tmpf));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.