mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
694 B

  1. diff -pruN -x CVS cups-1.1.23/pdftops/GfxFont.cxx build/64-TRUNK-x86-crystal/ROCK/src.cups.1152101103.27092.2813494945/cups-1.1.23/pdftops/GfxFont.cxx
  2. --- cups-1.1.23/pdftops/GfxFont.cxx 2004-02-02 22:41:09.000000000 +0000
  3. +++ build/64-TRUNK-x86-crystal/ROCK/src.cups.1152101103.27092.2813494945/cups-1.1.23/pdftops/GfxFont.cxx 2006-07-05 12:26:58.000000000 +0000
  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;