Bug 2944 - utils/net_idmap.c: "int *'s" incompatible with "uid_t *" and "gid_t *"
utils/net_idmap.c: "int *'s" incompatible with "uid_t *" and "gid_t *"
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.20
SGI IRIX
: P3 normal
: none
Assigned To: James Peach (outdated mail address)
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-01 12:32 UTC by Jason Mader
Modified: 2006-04-09 10:51 UTC (History)
1 user (show)

See Also:


Attachments
Change uid_t and gid_t (1.10 KB, patch)
2005-08-15 14:49 UTC, Jason Mader
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2005-08-01 12:32:14 UTC
cc-1164 cc: WARNING File = utils/net_idmap.c, Line = 123
  Argument of type "int *" is incompatible with parameter of type "uid_t *".

        if (!lp_idmap_uid(&hwms.user_hwm, &highest.user_hwm) ||
                          ^

cc-1164 cc: WARNING File = utils/net_idmap.c, Line = 123
  Argument of type "int *" is incompatible with parameter of type "uid_t *".

        if (!lp_idmap_uid(&hwms.user_hwm, &highest.user_hwm) ||
                                          ^

cc-1164 cc: WARNING File = utils/net_idmap.c, Line = 124
  Argument of type "int *" is incompatible with parameter of type "gid_t *".

            !lp_idmap_gid(&hwms.group_hwm, &highest.group_hwm)) {
                          ^

cc-1164 cc: WARNING File = utils/net_idmap.c, Line = 124
  Argument of type "int *" is incompatible with parameter of type "gid_t *".
 
            !lp_idmap_gid(&hwms.group_hwm, &highest.group_hwm)) {
                                           ^
Comment 1 James Peach (outdated mail address) 2005-08-06 18:17:15 UTC
This is an IRIX compiler warning .. I'll take it ..
Comment 2 Tim Potter 2005-08-06 21:05:14 UTC
I took a look at this and unfortunately it's not as easy as the other compiler
warning bugs.  If you work up a patch let me know and I'll take a look.
Comment 3 Jason Mader 2005-08-15 14:49:02 UTC
Created attachment 1381 [details]
Change uid_t and gid_t
Comment 4 Volker Lendecke 2006-04-09 10:51:50 UTC
A similar patch is in the current code. Please re-open if the problem still persists.

Volker