summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-04 01:03:23 +0000
committerJeremy Allison <jra@samba.org>2000-10-04 01:03:23 +0000
commit23f78fd7b91878176c518471cdca84cad826cba9 (patch)
tree477d465d5b415d25789c9d53153c9d4a636c2b96 /source3/nsswitch
parent6692d0905e3e8605884ced5d38efb26929648d29 (diff)
downloadsamba-23f78fd7b91878176c518471cdca84cad826cba9.tar.gz
samba-23f78fd7b91878176c518471cdca84cad826cba9.tar.bz2
samba-23f78fd7b91878176c518471cdca84cad826cba9.zip
Adding Herb's compile warning fixes to HEAD.
Jeremy. (This used to be commit d131ad1ce3f6e72e295f865a463f8dcbfa6f8d42)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/wb_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/wb_common.c b/source3/nsswitch/wb_common.c
index 42712d68da..3671cf2e4f 100644
--- a/source3/nsswitch/wb_common.c
+++ b/source3/nsswitch/wb_common.c
@@ -37,7 +37,7 @@ void init_request(struct winbindd_request *request, int request_type)
static char *domain_env;
static BOOL initialised;
- request->cmd = request_type;
+ request->cmd = (enum winbindd_cmd)request_type;
request->pid = getpid();
request->domain[0] = '\0';
@@ -59,7 +59,7 @@ void init_response(struct winbindd_response *response)
{
/* Initialise return value */
- response->result = NSS_STATUS_UNAVAIL;
+ response->result = (enum winbindd_result)NSS_STATUS_UNAVAIL;
}
/* Close established socket */