summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-04-14 19:03:36 +0000
committerishmal <ishmal@users.sourceforge.net>2006-04-14 19:03:36 +0000
commit3894698405a28b8bad4f9f53e6e7cc0ec6a3207c (patch)
tree3dea053b147995ba397646bbac2be254719a50ea /src
parentFixed desktop-to-doc Y flip (diff)
downloadinkscape-3894698405a28b8bad4f9f53e6e7cc0ec6a3207c.tar.gz
inkscape-3894698405a28b8bad4f9f53e6e7cc0ec6a3207c.zip
fix XMLCh/int warnings
(bzr r522)
Diffstat (limited to 'src')
-rw-r--r--src/dom/io/base64stream.cpp2
-rw-r--r--src/dom/io/base64stream.h2
-rw-r--r--src/dom/io/gzipstream.cpp2
-rw-r--r--src/dom/io/gzipstream.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/dom/io/base64stream.cpp b/src/dom/io/base64stream.cpp
index 880ad5a8e..42df842c4 100644
--- a/src/dom/io/base64stream.cpp
+++ b/src/dom/io/base64stream.cpp
@@ -292,7 +292,7 @@ void Base64OutputStream::putCh(int ch)
/**
* Writes the specified byte to this output stream.
*/
-void Base64OutputStream::put(int ch)
+void Base64OutputStream::put(XMLCh ch)
{
if (closed)
{
diff --git a/src/dom/io/base64stream.h b/src/dom/io/base64stream.h
index 6fc94d34f..ed5159b3c 100644
--- a/src/dom/io/base64stream.h
+++ b/src/dom/io/base64stream.h
@@ -108,7 +108,7 @@ public:
virtual void flush();
- virtual void put(int ch);
+ virtual void put(XMLCh ch);
/**
* Sets the maximum line length for base64 output. If
diff --git a/src/dom/io/gzipstream.cpp b/src/dom/io/gzipstream.cpp
index 34d11c1aa..510101553 100644
--- a/src/dom/io/gzipstream.cpp
+++ b/src/dom/io/gzipstream.cpp
@@ -214,7 +214,7 @@ void GzipOutputStream::flush()
/**
* Writes the specified byte to this output stream.
*/
-void GzipOutputStream::put(int ch)
+void GzipOutputStream::put(XMLCh ch)
{
if (closed)
{
diff --git a/src/dom/io/gzipstream.h b/src/dom/io/gzipstream.h
index ed7462488..8fc26f0a2 100644
--- a/src/dom/io/gzipstream.h
+++ b/src/dom/io/gzipstream.h
@@ -101,7 +101,7 @@ public:
virtual void flush();
- virtual void put(int ch);
+ virtual void put(XMLCh ch);
private: