summaryrefslogtreecommitdiff
path: root/source/libads/ldap_printer.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libads/ldap_printer.c')
-rw-r--r--source/libads/ldap_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/ldap_printer.c b/source/libads/ldap_printer.c
index 64ae8252c81..66984477b81 100644
--- a/source/libads/ldap_printer.c
+++ b/source/libads/ldap_printer.c
@@ -28,7 +28,7 @@
results can be used. It should be freed using ads_msgfree.
*/
ADS_STATUS ads_find_printer_on_server(ADS_STRUCT *ads, void **res,
- char *printer, char *servername)
+ const char *printer, char *servername)
{
ADS_STATUS status;
char *srv_dn, **srv_cn, *exp;