summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-24 15:43:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:17 -0500
commitbee751ed17223dc72f8972b014998c950e5bd794 (patch)
tree4ac4609102225a3c5968d57032d1f0876f9406db
parent527bafcf73a1daea0a7a19f0181d811cabea451d (diff)
downloadsamba-bee751ed17223dc72f8972b014998c950e5bd794.tar.gz
samba-bee751ed17223dc72f8972b014998c950e5bd794.tar.bz2
samba-bee751ed17223dc72f8972b014998c950e5bd794.zip
r2019: fix compiler warnings
metze (This used to be commit 699248fe821ffb738065002b5fef67cd59ca37f6)
-rw-r--r--source4/libcli/namequery.c4
1 files changed, 2 insertions, 2 deletions
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;