aboutsummaryrefslogtreecommitdiff
path: root/src/ldif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldif.c')
-rw-r--r--src/ldif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldif.c b/src/ldif.c
index 21c74478..805b1a54 100644
--- a/src/ldif.c
+++ b/src/ldif.c
@@ -628,7 +628,7 @@ static gchar *ldif_conv_base64( gchar *buf ) {
gint len;
outbuf = g_malloc(strlen(buf) + 1);
- len = base64_decode(outbuf, buf, -1);
+ len = base64_decode((guchar *)outbuf, buf, -1);
outbuf[len] = '\0';
if (g_utf8_validate(outbuf, -1, NULL))
return outbuf;