summaryrefslogtreecommitdiffstats
path: root/src/ldap_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldap_helper.c')
-rw-r--r--src/ldap_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldap_helper.c b/src/ldap_helper.c
index aa5af2d..432efcd 100644
--- a/src/ldap_helper.c
+++ b/src/ldap_helper.c
@@ -1524,7 +1524,7 @@ ldap_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *sin)
in->len = 0;
ret = LDAP_OTHER;
}
- log_error("result: %s", in->result?in->result:"");
+ log_error("result: %s", (char *)(in->result?in->result:""));
}
return ret;