Bug 2944 - utils/net_idmap.c: "int *'s" incompatible with "uid_t *" and "gid_t *"
Summary: utils/net_idmap.c: "int *'s" incompatible with "uid_t *" and "gid_t *"
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: James Peach
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-01 12:32 UTC by Jason Mader (mail bounces back)
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 (mail bounces back)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 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 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 (mail bounces back) 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