Bug 3880 - passdb/pdb_interface.c: "unsigned int *" is incompatible with "enum SID_NAME_USE *"
passdb/pdb_interface.c: "unsigned int *" is incompatible with "enum SID_NAME_...
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-28 10:02 UTC by Jason Mader
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 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 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.