mirror of
				https://github.com/lxsang/antd-lua-plugin
				synced 2025-10-31 10:25:46 +01:00 
			
		
		
		
	remove warning
This commit is contained in:
		| @@ -10,7 +10,7 @@ | ||||
| #include <time.h> | ||||
| #include <sys/stat.h> | ||||
| #include <sys/types.h> | ||||
| #include <sys/types.h> | ||||
| #include <sys/wait.h> | ||||
| #include <signal.h> | ||||
| #include <errno.h> | ||||
| #include <pwd.h> | ||||
| @@ -198,7 +198,7 @@ static int l_getuid(lua_State* L) | ||||
|                LOG("malloc eror \n"); | ||||
|                return 1; | ||||
|            } | ||||
| 		if (getgrouplist(name, gid, (int*)groups, &ngroups) == -1) { | ||||
| 		if (getgrouplist(name, gid, groups, &ngroups) == -1) { | ||||
| 			free(groups); | ||||
| 			LOG("getgrouplist() returned -1; ngroups = %d\n", ngroups); | ||||
| 			return 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user