diff options
author | Gerald Carter <jerry@samba.org> | 2003-01-15 18:31:46 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-01-15 18:31:46 +0000 |
commit | 9ac196dad4893b0ceef13281a140be5d85391e6c (patch) | |
tree | 0051552353ae0178f2cdf7605c99e4f6a9c8ec4f /source/nsswitch | |
parent | dc8882778694289ca461de57d443992f52ab7524 (diff) | |
download | samba-9ac196dad4893b0ceef13281a140be5d85391e6c.tar.gz samba-9ac196dad4893b0ceef13281a140be5d85391e6c.tar.xz samba-9ac196dad4893b0ceef13281a140be5d85391e6c.zip |
small merges from SAMBA_3_0; mostly typos, renames, etc...
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd_pam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nsswitch/winbindd_pam.c b/source/nsswitch/winbindd_pam.c index b8a8c38d681..f3237f08da3 100644 --- a/source/nsswitch/winbindd_pam.c +++ b/source/nsswitch/winbindd_pam.c @@ -185,13 +185,13 @@ enum winbindd_result winbindd_pam_auth_crap(struct winbindd_cli_state *state) goto done; } - if (pull_utf8_talloc(mem_ctx, &user, state->request.data.auth_crap.user) == -1) { + if (pull_utf8_talloc(mem_ctx, &user, state->request.data.auth_crap.user) == (size_t)-1) { DEBUG(0, ("winbindd_pam_auth_crap: pull_utf8_talloc failed!\n")); } if (*state->request.data.auth_crap.domain) { char *dom = NULL; - if (pull_utf8_talloc(mem_ctx, &dom, state->request.data.auth_crap.domain) == -1) { + if (pull_utf8_talloc(mem_ctx, &dom, state->request.data.auth_crap.domain) == (size_t)-1) { DEBUG(0, ("winbindd_pam_auth_crap: pull_utf8_talloc failed!\n")); } domain = dom; @@ -215,7 +215,7 @@ enum winbindd_result winbindd_pam_auth_crap(struct winbindd_cli_state *state) if (*state->request.data.auth_crap.workstation) { char *wrk = NULL; - if (pull_utf8_talloc(mem_ctx, &wrk, state->request.data.auth_crap.workstation) == -1) { + if (pull_utf8_talloc(mem_ctx, &wrk, state->request.data.auth_crap.workstation) == (size_t)-1) { DEBUG(0, ("winbindd_pam_auth_crap: pull_utf8_talloc failed!\n")); } workstation = wrk; |