summaryrefslogtreecommitdiff
path: root/lib/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/str.c')
-rw-r--r--lib/str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/str.c b/lib/str.c
index e10ecd4802..fe6bf71661 100644
--- a/lib/str.c
+++ b/lib/str.c
@@ -898,7 +898,7 @@ _gnutls_buffer_base64print(gnutls_buffer_st * str,
return gnutls_assert_val(ret);
}
- base64_encode_raw(&str->data[str->length], len, data);
+ base64_encode_raw((void*)&str->data[str->length], len, data);
str->length += b64len;
str->data[str->length] = 0;