[poppler] Branch 'poppler-0.12' - poppler/Gfx.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Sep 9 14:25:19 PDT 2009


 poppler/Gfx.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3083720d3e9f628c1fb963ee83c17a0ff7e80117
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