Bug 12654 - source3/lib/system_smbd.c
Summary: source3/lib/system_smbd.c
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.0
Hardware: x64 Mac OS X
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-11 17:38 UTC by Ruga
Modified: 2018-04-25 10:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-11 17:38:58 UTC
[1545/3257] Compiling source3/lib/system_smbd.c
../source3/lib/system_smbd.c:185:35: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
        retval = getgrouplist(user, gid, groups, grpcnt);
                                         ^~~~~~
/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.
Comment 1 Ruga 2018-04-25 10:07:41 UTC
...
[1557/2913] Compiling source3/libads/krb5_errs.c
[1558/2913] Compiling source3/lib/system_smbd.c
../source3/lib/system_smbd.c:185:35: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
        retval = getgrouplist(user, gid, groups, grpcnt);
                                         ^~~~~~
/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.
[1559/2913] Compiling source3/lib/audit.c
[1560/2913] Compiling source3/lib/tevent_wait.c
...