summaryrefslogtreecommitdiff
path: root/poppler/Gfx.cc
diff options
context:
space:
mode:
authorOliver Sander <oliver.sander@tu-dresden.de>2018-11-30 18:12:17 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2018-12-06 17:31:41 +0000
commit22053d55a26baf856a0b95552875e748dd1fb849 (patch)
tree0079f6fa152b41c49c63995ad42cd948dab8f456 /poppler/Gfx.cc
parentb7503eb3c2364e7ca7fc37418bb4cc484437ea71 (diff)
Replace Guint by unsigned int
Diffstat (limited to 'poppler/Gfx.cc')
-rw-r--r--poppler/Gfx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 55950b77..2b53ea07 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -302,8 +302,8 @@ Operator Gfx::opTab[] = {
#define numOps (sizeof(opTab) / sizeof(Operator))
-static inline bool isSameGfxColor(const GfxColor &colorA, const GfxColor &colorB, Guint nComps, double delta) {
- for (Guint k = 0; k < nComps; ++k) {
+static inline bool isSameGfxColor(const GfxColor &colorA, const GfxColor &colorB, unsigned int nComps, double delta) {
+ for (unsigned int k = 0; k < nComps; ++k) {
if (abs(colorA.c[k] - colorB.c[k]) > delta) {
return false;
}