summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 2c235417a80..d11b1ffd780 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1177,7 +1177,7 @@ NT GETDC call, UNICODE, NT domain SID and uncle tom cobbley and all...
Get the IP address list of the PDC/BDC's of a Domain.
*********************************************************/
-BOOL get_dc_list(BOOL pdc_only, char *group, struct in_addr **ip_list, int *count)
+BOOL get_dc_list(BOOL pdc_only, const char *group, struct in_addr **ip_list, int *count)
{
int name_type = pdc_only ? 0x1B : 0x1C;