summaryrefslogtreecommitdiffstats
path: root/src/io/gzipstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/gzipstream.cpp')
-rw-r--r--src/io/gzipstream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/gzipstream.cpp b/src/io/gzipstream.cpp
index dfb605f14..82e20a08f 100644
--- a/src/io/gzipstream.cpp
+++ b/src/io/gzipstream.cpp
@@ -359,14 +359,14 @@ void GzipOutputStream::close()
uLong outlong = crc;
for (int n = 0; n < 4; n++)
{
- destination.put(static_cast<gunichar>(outlong & 0xff));
+ destination.put(static_cast<char>(outlong & 0xff));
outlong >>= 8;
}
//# send the file length
outlong = totalIn & 0xffffffffL;
for (int n = 0; n < 4; n++)
{
- destination.put(static_cast<gunichar>(outlong & 0xff));
+ destination.put(static_cast<char>(outlong & 0xff));
outlong >>= 8;
}
@@ -432,7 +432,7 @@ void GzipOutputStream::flush()
/**
* Writes the specified byte to this output stream.
*/
-int GzipOutputStream::put(gunichar ch)
+int GzipOutputStream::put(char ch)
{
if (closed)
{