From ca9d69e7e53354800b57421d7b0e90191c604d2c Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Tue, 25 Sep 2018 00:14:20 +0200 Subject: Purge gunichar from Inkscapestream None of these functions seems to expect an actual gunichar (which is a 32-bit type and can hold any UTF-32 or UCS-4 character code, also known as a Unicode code point). Instead we want UTF-8 encoded character data (i.e. gchar, which is equivalent to char) that can be output byte-wise to form a valid UTF-8 encoded string. --- src/io/base64stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io/base64stream.cpp') diff --git a/src/io/base64stream.cpp b/src/io/base64stream.cpp index c0c5e1a02..c08584e33 100644 --- a/src/io/base64stream.cpp +++ b/src/io/base64stream.cpp @@ -290,7 +290,7 @@ void Base64OutputStream::putCh(int ch) /** * Writes the specified byte to this output stream. */ -int Base64OutputStream::put(gunichar ch) +int Base64OutputStream::put(char ch) { if (closed) { -- cgit v1.2.3