[poppler] poppler/FontInfo.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Dec 18 10:00:31 PST 2010


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

New commits:
commit 18cd9f6aeb48266c551952c395eb9cd662bc27f5
Author: Thomas Freitag <Thomas.Freitag at alfa.de>
Date:   Sat Dec 18 17:59:54 2010 +0000

    compile in windows

diff --git a/poppler/FontInfo.cc b/poppler/FontInfo.cc
index e7805ec..6560598 100644
--- a/poppler/FontInfo.cc
+++ b/poppler/FontInfo.cc
@@ -9,6 +9,7 @@
 // Copyright (C) 2009 Pino Toscano <pino at kde.org>
 // Copyright (C) 2010 Hib Eris <hib at hiberis.nl>
 // Copyright (C) 2010 Adrian Johnson <ajohnson at redneon.com>
+// Copyright (C) 2010 Thomas Freitag <Thomas.Freitag at alfa.de>
 //
 // 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
@@ -131,7 +132,7 @@ void FontInfoScanner::scanFonts(Dict *resDict, GooList *fontsList) {
   // recursively scan any resource dictionaries in objects in this
   // resource dictionary
   char *resTypes[] = { "XObject", "Pattern" };
-  for (uint resType = 0; resType < sizeof(resTypes) / sizeof(resTypes[0]); ++resType) {
+  for (Guint resType = 0; resType < sizeof(resTypes) / sizeof(resTypes[0]); ++resType) {
     resDict->lookup(resTypes[resType], &objDict);
     if (objDict.isDict()) {
       for (i = 0; i < objDict.dictGetLength(); ++i) {


More information about the poppler mailing list