mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2025-07-26 02:39:46 +02:00
remove warning
This commit is contained in:
@ -198,7 +198,7 @@ static int l_getuid(lua_State* L)
|
||||
LOG("malloc eror \n");
|
||||
return 1;
|
||||
}
|
||||
if (getgrouplist(name, gid, groups, &ngroups) == -1) {
|
||||
if (getgrouplist(name, gid, (int*)groups, &ngroups) == -1) {
|
||||
free(groups);
|
||||
LOG("getgrouplist() returned -1; ngroups = %d\n", ngroups);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user