From: ishmal Date: Fri, 14 Apr 2006 19:03:36 +0000 (+0000) Subject: fix XMLCh/int warnings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6e75dd2162fc78dd1d920ffbffa5f821118be13d;p=inkscape.git fix XMLCh/int warnings --- 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: