mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r12045: More warning fixes... Just a few more to go.
Jeremy.
This commit is contained in:
parent
c65b752604
commit
cd192ed79a
@ -1097,6 +1097,8 @@ static void do_tarput(void)
|
||||
char *longfilename = NULL, linkflag;
|
||||
int skip = False;
|
||||
|
||||
ZERO_STRUCT(finfo);
|
||||
|
||||
GetTimeOfDay(&tp_start);
|
||||
DEBUG(5, ("RJS do_tarput called ...\n"));
|
||||
|
||||
|
@ -621,7 +621,7 @@ static NTSTATUS lookup_usergroups(struct winbindd_domain *domain,
|
||||
goto done;
|
||||
}
|
||||
|
||||
rc = ads_search_retry_dn(ads, (void**)&msg, user_dn, attrs);
|
||||
rc = ads_search_retry_dn(ads, (void**)(void *)&msg, user_dn, attrs);
|
||||
if (!ADS_ERR_OK(rc)) {
|
||||
status = ads_ntstatus(rc);
|
||||
DEBUG(1,("lookup_usergroups(sid=%s) ads_search tokenGroups: %s\n",
|
||||
|
@ -211,7 +211,7 @@ static int net_lookup_kdc(int argc, const char **argv)
|
||||
realm.length = strlen(realm.data);
|
||||
}
|
||||
|
||||
rc = krb5_locate_kdc(ctx, &realm, (struct sockaddr **) &addrs, &num_kdcs, 0);
|
||||
rc = krb5_locate_kdc(ctx, &realm, (struct sockaddr **)(void *)&addrs, &num_kdcs, 0);
|
||||
if (rc) {
|
||||
DEBUG(1, ("krb5_locate_kdc failed (%s)\n", error_message(rc)));
|
||||
return -1;
|
||||
|
@ -396,7 +396,7 @@ static struct cli_state *connect_one(const char *share)
|
||||
pstring username_str = {0};
|
||||
pstring path = {0};
|
||||
pstring set_str = {0};
|
||||
enum SMB_QUOTA_TYPE qtype;
|
||||
enum SMB_QUOTA_TYPE qtype = SMB_INVALID_QUOTA_TYPE;
|
||||
int cmd = 0;
|
||||
static BOOL test_args = False;
|
||||
struct cli_state *cli;
|
||||
|
Loading…
Reference in New Issue
Block a user