summaryrefslogtreecommitdiffstats
path: root/src/io/stringstream.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-02-13 19:02:23 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-02-13 19:02:23 +0000
commit47d871e0b2a9ed5fb58d4d02edf840a0d4b19783 (patch)
tree4267c803d47dcc1852b51e6f9b622535e1d2d9d0 /src/io/stringstream.cpp
parentBuild. Adding unistd header (fixes compilation on Win32 with OpenSuse cross-c... (diff)
downloadinkscape-47d871e0b2a9ed5fb58d4d02edf840a0d4b19783.tar.gz
inkscape-47d871e0b2a9ed5fb58d4d02edf840a0d4b19783.zip
fixing variable type in stream classes to what was intended (preparation for solving bug #1120585 )
(bzr r12123)
Diffstat (limited to 'src/io/stringstream.cpp')
-rw-r--r--src/io/stringstream.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/io/stringstream.cpp b/src/io/stringstream.cpp
index 44d11dd04..f204a99d5 100644
--- a/src/io/stringstream.cpp
+++ b/src/io/stringstream.cpp
@@ -112,10 +112,9 @@ void StringOutputStream::flush()
/**
* Writes the specified byte to this output stream.
*/
-void StringOutputStream::put(int ch)
+void StringOutputStream::put(gunichar ch)
{
- gunichar uch = (gunichar)ch;
- buffer.push_back(uch);
+ buffer.push_back(ch);
}