You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like getgrouplist is slightly different on darwin.
$ man getgrouplist
GETGROUPLIST(3) BSD Library Functions Manual GETGROUPLIST(3)
NAME
getgrouplist -- calculate partial group access list
LIBRARY
Standard system libraries.
SYNOPSIS
#include <unistd.h>
int
getgrouplist(const char *name, int basegid, int *groups, int *ngroups);
# os/user
os/user/lookup_unix.go:43:35: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h:653:43: note: passing argument to parameter here
The text was updated successfully, but these errors were encountered:
Seems like getgrouplist is slightly different on darwin.
The text was updated successfully, but these errors were encountered: