From bee751ed17223dc72f8972b014998c950e5bd794 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 24 Aug 2004 15:43:57 +0000 Subject: r2019: fix compiler warnings metze (This used to be commit 699248fe821ffb738065002b5fef67cd59ca37f6) --- source4/libcli/namequery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/libcli/namequery.c b/source4/libcli/namequery.c index 0094cc26bb..de0f406209 100644 --- a/source4/libcli/namequery.c +++ b/source4/libcli/namequery.c @@ -1217,8 +1217,8 @@ BOOL get_dc_list(TALLOC_CTX *mem_ctx, const char *domain, struct in_addr **ip_li /* If it's our domain then use the 'password server' parameter. */ if (strequal(domain, lp_workgroup())) { - char *p; - char *pserver = lp_passwordserver(); /* UNIX charset. */ + const char *p; + const char *pserver = lp_passwordserver(); /* UNIX charset. */ fstring name; int num_addresses = 0; int local_count, i, j; -- cgit