Magellan Linux

Contents of /trunk/cups/patches/cups-1.1.23-gcc4-amd64.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 566 byte(s)
-import

1 diff -Npaur cups-1.1.23/pdftops/GfxFont.cxx cups-1.1.23-patched/pdftops/GfxFont.cxx
2 --- cups-1.1.23/pdftops/GfxFont.cxx 2004-02-02 23:41:09.000000000 +0100
3 +++ cups-1.1.23-patched/pdftops/GfxFont.cxx 2005-01-28 02:04:15.613249488 +0100
4 @@ -969,7 +969,7 @@ Gushort *Gfx8BitFont::getCodeToGIDMap(Tr
5 if ((nameToGID = ff->getNameToGID())) {
6 for (i = 0; i < 256; ++i) {
7 if (!map[i] && (charName = enc[i])) {
8 - map[i] = (Gushort)(int)nameToGID->lookup(charName);
9 + map[i] = (Gushort)(long)nameToGID->lookup(charName);
10 }
11 }
12 delete nameToGID;