summaryrefslogtreecommitdiffstats
path: root/src/io/xsltstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/xsltstream.cpp')
-rw-r--r--src/io/xsltstream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/xsltstream.cpp b/src/io/xsltstream.cpp
index 6b72627d3..7a6632233 100644
--- a/src/io/xsltstream.cpp
+++ b/src/io/xsltstream.cpp
@@ -230,10 +230,10 @@ void XsltOutputStream::flush() throw (StreamException)
/**
* Writes the specified byte to this output stream.
*/
-void XsltOutputStream::put(int ch) throw (StreamException)
+int XsltOutputStream::put(gunichar ch) throw (StreamException)
{
- gunichar uch = (gunichar) ch;
- outbuf.push_back(uch);
+ outbuf.push_back(ch);
+ return 1;
}