summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-06 14:18:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-06 14:18:01 +0000
commitcf987d9a8bee97c249899de4a1918009566459ca (patch)
tree8fd5b7962eaaf17cea703df8722d17bb17610a72
parentc51dfa94f577fb78d3d2f77058d5e9ae42283602 (diff)
cppunit: prefer prefix variant
-rw-r--r--icc/source/create_sRGB_profile/create_sRGB_profile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/icc/source/create_sRGB_profile/create_sRGB_profile.cpp b/icc/source/create_sRGB_profile/create_sRGB_profile.cpp
index 20a8c7c..00454f6 100644
--- a/icc/source/create_sRGB_profile/create_sRGB_profile.cpp
+++ b/icc/source/create_sRGB_profile/create_sRGB_profile.cpp
@@ -252,14 +252,14 @@ void dumpProfile(FILE *outfile, const char * profileName)
int n;
TagEntryList::iterator i;
- for (n=0, i=pIcc->m_Tags->begin(); i!=pIcc->m_Tags->end(); i++, n++)
+ for (n=0, i=pIcc->m_Tags->begin(); i!=pIcc->m_Tags->end(); ++i, ++n)
{
fprintf(outfile,"%25s %s %8ld\t%8ld\n", Fmt.GetTagSigName(i->TagInfo.sig),
icGetSig(buf, i->TagInfo.sig, false),
i->TagInfo.offset, i->TagInfo.size);
}
- for (n=0, i=pIcc->m_Tags->begin(); i!=pIcc->m_Tags->end(); i++, n++)
+ for (n=0, i=pIcc->m_Tags->begin(); i!=pIcc->m_Tags->end(); ++i, ++n)
dumpTag(outfile, pIcc, i->TagInfo.sig);
}
delete pIcc;