[poppler] poppler/GfxState.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Nov 19 15:44:29 PST 2013


 poppler/GfxState.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e7a0f2b942fe621304275175324f7809d1c83d80
Author: Hib Eris <hib at hiberis.nl>
Date:   Wed Nov 20 00:43:27 2013 +0100

    Fix warning on signed/unsigned comparison in GfxState.cc
    
    Bug #71641

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index 8a53ee4..7c7928a 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -25,6 +25,7 @@
 // Copyright (C) 2011 Andrea Canciani <ranma42 at gmail.com>
 // Copyright (C) 2012 William Bader <williambader at hotmail.com>
 // Copyright (C) 2013 Lu Wang <coolwanglu at gmail.com>
+// Copyright (C) 2013 Hib Eris <hib at hiberis.nl>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -156,7 +157,7 @@ static const char *gfxColorSpaceModeNames[] = {
 
 #ifdef USE_CMS
 
-static const int CMSCACHE_LIMIT = 2048;
+static const std::map<unsigned int, unsigned int>::size_type CMSCACHE_LIMIT = 2048;
 
 #ifdef USE_LCMS1
 #include <lcms.h>


More information about the poppler mailing list