Bug 3880 - passdb/pdb_interface.c: "unsigned int *" is incompatible with "enum SID_NAME_USE *"
Summary: passdb/pdb_interface.c: "unsigned int *" is incompatible with "enum SID_NAME_...
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-28 10:02 UTC by Jason Mader (mail bounces back)
Modified: 2006-06-28 12:56 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 Jason Mader (mail bounces back) 2006-06-28 10:02:10 UTC
--- passdb/pdb_interface.o ---
cc-1164 c99: WARNING File = passdb/pdb_interface.c, Line = 1570
  Argument of type "unsigned int *" is incompatible with parameter of type
          "enum SID_NAME_USE *".

                if (lookup_global_sam_rid(names, rids[i], &name, &attrs[i],
                                                                 ^

cc-1164 c99: WARNING File = passdb/pdb_interface.c, Line = 1631
  Argument of type "unsigned int *" is incompatible with parameter of type
          "enum SID_NAME_USE *".

                if (lookup_global_sam_name(names[i], 0, &rids[i], &attrs[i])) {
                                                                  ^
Comment 1 Jason Mader (mail bounces back) 2006-06-28 10:02:48 UTC
--- passdb/lookup_sid.o ---
cc-1164 c99: WARNING File = passdb/lookup_sid.c, Line = 376
  Argument of type "unsigned int *" is incompatible with parameter of type
          "enum SID_NAME_USE *".

                                       &names[i], &types[i])) {
                                                  ^

cc-1164 c99: WARNING File = passdb/lookup_sid.c, Line = 415
  Argument of type "enum SID_NAME_USE *" is incompatible with parameter of type
          "unsigned int *".

                                         *names, *types);
                                                 ^

cc-1164 c99: WARNING File = passdb/lookup_sid.c, Line = 493
  Argument of type "enum SID_NAME_USE *" is incompatible with parameter of type
          "unsigned int *".

                                   domain_name, *names, *types);
                                                        ^
Comment 2 Jeremy Allison 2006-06-28 12:56:14 UTC
Fixed thanks !
Jeremy.