summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-02-14 19:52:23 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-02-14 19:52:23 +0000
commita04c60db8211d12df4e08b176ab8eaba1cc3198f (patch)
tree2c4d0cf907b551a359fc1be5016534a48a362beb /src
parentfix warnings introduced in revision 12123 (diff)
downloadinkscape-a04c60db8211d12df4e08b176ab8eaba1cc3198f.tar.gz
inkscape-a04c60db8211d12df4e08b176ab8eaba1cc3198f.zip
fix yet another warning
(bzr r12126)
Diffstat (limited to 'src')
-rw-r--r--src/io/xsltstream.cpp5
-rw-r--r--src/io/xsltstream.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/io/xsltstream.cpp b/src/io/xsltstream.cpp
index 6b72627d3..1c260c0b3 100644
--- a/src/io/xsltstream.cpp
+++ b/src/io/xsltstream.cpp
@@ -230,10 +230,9 @@ void XsltOutputStream::flush() throw (StreamException)
/**
* Writes the specified byte to this output stream.
*/
-void XsltOutputStream::put(int ch) throw (StreamException)
+void XsltOutputStream::put(gunichar ch) throw (StreamException)
{
- gunichar uch = (gunichar) ch;
- outbuf.push_back(uch);
+ outbuf.push_back(ch);
}
diff --git a/src/io/xsltstream.h b/src/io/xsltstream.h
index cfe9e5124..9b8e19215 100644
--- a/src/io/xsltstream.h
+++ b/src/io/xsltstream.h
@@ -120,7 +120,7 @@ public:
virtual void flush() throw (StreamException);
- virtual void put(int ch) throw (StreamException);
+ virtual void put(gunichar ch) throw (StreamException);
private: