[poppler] poppler/Gfx.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Sep 9 14:25:00 PDT 2009
poppler/Gfx.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 68711d8494e2765c4a24ea59ce8d904981f0f917
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Sep 9 23:24:22 2009 +0200
uint -> Guint
some compilers don't know about uint
diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 81a4ab8..ca9b513 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -293,8 +293,8 @@ Operator Gfx::opTab[] = {
#define numOps (sizeof(opTab) / sizeof(Operator))
-static inline GBool isSameGfxColor(const GfxColor &colorA, const GfxColor &colorB, uint nComps, double delta) {
- for (uint k = 0; k < nComps; ++k) {
+static inline GBool isSameGfxColor(const GfxColor &colorA, const GfxColor &colorB, Guint nComps, double delta) {
+ for (Guint k = 0; k < nComps; ++k) {
if (abs(colorA.c[k] - colorB.c[k]) > delta) {
return false;
}
More information about the poppler
mailing list