--- utils/net_util.o --- cc-1185 c99: WARNING File = utils/net_util.c, Line = 79 An enumerated type is mixed with another type. *ret_type = types[0]; ^
Created attachment 1997 [details] Change type of "types" This makes another warning, cc-1164 c99: WARNING File = utils/net_util.c, Line = 62 Argument of type "enum SID_NAME_USE **" is incompatible with parameter of type "unsigned int **". &name, &dom_names, &sids, &types); ^ but the type of "types" matches the other functions - and this put the onus on rpccli_lsa_lookup_names() to change it's argument type.
Created attachment 1998 [details] Change type on rpccli_lsa_lookup_names( )
I fixed this with the global change to make the lookup_XX rpc calls return enum SID_NAME_TYPE types. Jeremy.