[2012/3257] Compiling source4/torture/local/nss_tests.c ../source4/torture/local/nss_tests.c:730:33: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = getgrouplist(user, gid, groups, &num_groups); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:653:43: note: passing argument to parameter here int getgrouplist(const char *, int, int *, int *); ^ 1 warning generated.
Use "int" instead of "gid_t".
(In reply to Ruga from comment #1) No, changing all relevant gid_t to int is not enough.