summaryrefslogtreecommitdiffstats
path: root/src/dom/io/gzipstream.cpp
diff options
context:
space:
mode:
authorAndrew Higginson <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
committerAndrew <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
commit80960b623a99aae1402ab651b2974ef544ed3b03 (patch)
treeba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/dom/io/gzipstream.cpp
parenttry to fix bug (diff)
parentGDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff)
downloadinkscape-80960b623a99aae1402ab651b2974ef544ed3b03.tar.gz
inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.zip
merged with trunk so I can build again...
(bzr r10092.1.36)
Diffstat (limited to 'src/dom/io/gzipstream.cpp')
-rw-r--r--src/dom/io/gzipstream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dom/io/gzipstream.cpp b/src/dom/io/gzipstream.cpp
index 9ac24dc75..e1f9f9a60 100644
--- a/src/dom/io/gzipstream.cpp
+++ b/src/dom/io/gzipstream.cpp
@@ -1,4 +1,4 @@
-/**
+/*
* Zlib-enabled input and output streams
*
* This is a thin wrapper of libz calls, in order
@@ -197,7 +197,7 @@ void GzipOutputStream::flush()
gz.writeBuffer(buffer);
std::vector<unsigned char>::iterator iter;
- for (iter=compBuf.begin() ; iter!=compBuf.end() ; iter++)
+ for (iter=compBuf.begin() ; iter!=compBuf.end() ; ++iter)
{
int ch = (int) *iter;
destination.put(ch);