Bug 4467 - Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **"
Summary: Argument of type "enum lsa_SidType **" is incompatible with parameter of type...
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.25
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-24 12:49 UTC by Jason Mader (mail bounces back)
Modified: 2019-06-14 08:59 UTC (History)
1 user (show)

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) 2007-03-24 12:49:52 UTC
--- utils/net_rpc.o ---
cc-1164 c99: WARNING File = utils/net_rpc.c, Line = 2032
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                      &name, NULL, &sids, &types);
                                                          ^

cc-1164 c99: WARNING File = utils/net_rpc.c, Line = 2759
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                     &domains, &names, &types);
                                                       ^

--- utils/net_rpc_rights.o ---
cc-1164 c99: WARNING File = utils/net_rpc_rights.c, Line = 42
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

        result = rpccli_lsa_lookup_sids(pipe_hnd, mem_ctx, &pol, 1, sid, &domains, &names, &sid_types);
                                                                                           ^

cc-1164 c99: WARNING File = utils/net_rpc_rights.c, Line = 79
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                         NULL, &sids, &sid_types);
                                                      ^

--- utils/netlookup.o ---
cc-1164 c99: WARNING File = utils/netlookup.c, Line = 175
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                &types);
                                                ^

cc-1164 c99: WARNING File = utils/netlookup.c, Line = 210
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                &types);
                                                ^

--- utils/net_util.o ---
cc-1164 c99: WARNING File = utils/net_util.c, Line = 62
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                         &name, &dom_names, &sids, &types);
                                                                   ^

--- libsmb/libsmbclient.o ---
cc-1164 c99: WARNING File = libsmb/libsmbclient.c, Line = 3789
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

        if (!NT_STATUS_IS_OK(rpccli_lsa_lookup_sids(pipe_hnd, ipc_cli->mem_ctx,  
             ^

cc-1164 c99: WARNING File = libsmb/libsmbclient.c, Line = 3829
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

        if (!NT_STATUS_IS_OK(rpccli_lsa_lookup_names(pipe_hnd, ipc_cli->mem_ctx, 
             ^

--- rpcclient/cmd_lsarpc.o ---
cc-1164 c99: WARNING File = rpcclient/cmd_lsarpc.c, Line = 50
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

        result = rpccli_lsa_lookup_names(cli, mem_ctx, &pol, 1, &name, NULL, &sids, &sid_types);
                                                                                    ^

cc-1164 c99: WARNING File = rpcclient/cmd_lsarpc.c, Line = 242
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                      (const char**)(argv + 1), NULL, &sids, &types);
                                                                             ^

cc-1164 c99: WARNING File = rpcclient/cmd_lsarpc.c, Line = 308
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                     &domains, &names, &types);
                                                       ^

--- utils/smbcacls.o ---
cc-1164 c99: WARNING File = utils/smbcacls.c, Line = 120
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

            !NT_STATUS_IS_OK(rpccli_lsa_lookup_sids(global_pipe_hnd, global_hack_cli->mem_ctx,  
             ^

cc-1164 c99: WARNING File = utils/smbcacls.c, Line = 147
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

            !NT_STATUS_IS_OK(rpccli_lsa_lookup_names(global_pipe_hnd, global_hack_cli->mem_ctx, 
             ^

--- utils/smbcquotas.o ---
cc-1164 c99: WARNING File = utils/smbcquotas.c, Line = 91
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

            !NT_STATUS_IS_OK(rpccli_lsa_lookup_sids(global_pipe_hnd, cli_ipc->mem_ctx,  
             ^

cc-1164 c99: WARNING File = utils/smbcquotas.c, Line = 118
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

            !NT_STATUS_IS_OK(rpccli_lsa_lookup_names(global_pipe_hnd, cli_ipc->mem_ctx, 
             ^

--- libmsrpc/cac_lsarpc.o ---
cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 202
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                        &domains, &names, &types );
                                                          ^

cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 329
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                         &sids, &types );
                                                ^

cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 642
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                 NULL, &user_sid, &type );
                                                                  ^

cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 908
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                 NULL, &user_sid, &type );
                                                                  ^

cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 978
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                 NULL, &user_sid, &type );
                                                                  ^

cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 1040
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                 NULL, &user_sid, &type );
                                                                  ^

cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 1102
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                 NULL, &user_sid, &type );
                                                                  ^

cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 1161
  Argument of type "enum lsa_SidType **" is incompatible with parameter of type
          "unsigned int **".

                                                 NULL, &user_sid, &type );
                                                                  ^
Comment 1 Volker Lendecke 2007-03-24 13:23:03 UTC
Jerry, do you want me to get rpccli_lsa_lookup_names across to 3_0_25? Looks pretty safe to me.

Volker
Comment 2 Jason Mader (mail bounces back) 2007-12-18 14:31:20 UTC
All these are still around in Samba 3.0.28
Comment 3 Andrew Bartlett 2019-06-14 08:59:45 UTC
Modern Samba (supported versions 4.9 and later) is built with very strict compiler options, I strongly doubt this is still an issue.