diff options
author | Niels Möller <nisse@lysator.liu.se> | 2017-08-27 20:45:21 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2017-08-27 20:45:21 +0200 |
commit | f2da403135e2b2f641cf0f8219ad5b72083b7dfd (patch) | |
tree | e3df313301bd15c5009305e5b30501fb14e4758f /sexp-transport-format.c | |
parent | 0bf64256ecf10af974c1970d87ffad19cbce7b51 (diff) | |
download | nettle-f2da403135e2b2f641cf0f8219ad5b72083b7dfd.tar.gz |
Change type of base16- and base64-encoded data from uint8_t to char.
Diffstat (limited to 'sexp-transport-format.c')
-rw-r--r-- | sexp-transport-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sexp-transport-format.c b/sexp-transport-format.c index c9946a70..70de1c03 100644 --- a/sexp-transport-format.c +++ b/sexp-transport-format.c @@ -68,7 +68,7 @@ sexp_transport_vformat(struct nettle_buffer *buffer, if (!nettle_buffer_space(buffer, base64_length - length)) return 0; - base64_encode_raw(buffer->contents + start, + base64_encode_raw((char*) (buffer->contents + start), length, buffer->contents + start); if (!NETTLE_BUFFER_PUTC(buffer, '}')) |