From afbadc1982c240d8e7bdb2c03411c6de2ef90ca3 Mon Sep 17 00:00:00 2001 From: Dicebot Date: Mon, 16 Jan 2017 13:03:56 +0000 Subject: [PATCH] Add missing const to iconv bindings --- src/core/sys/posix/iconv.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sys/posix/iconv.d b/src/core/sys/posix/iconv.d index 816f64632b..792778cd6e 100644 --- a/src/core/sys/posix/iconv.d +++ b/src/core/sys/posix/iconv.d @@ -35,7 +35,7 @@ iconv_t iconv_open (in char* tocode, in char* fromcode); /// Convert at most *INBYTESLEFT bytes from *INBUF according to the /// code conversion algorithm specified by CD and place up to /// *OUTBYTESLEFT bytes in buffer at *OUTBUF. -size_t iconv (iconv_t cd, char** inbuf, +size_t iconv (iconv_t cd, in char** inbuf, size_t* inbytesleft, char** outbuf, size_t* outbytesleft);