Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > bc717b9e96f4070e178e261ab5007579 > files > 6

cups-1.2.4-1.8mdv2007.0.src.rpm

[gb] looking at the way it's used, it's only a cosmetic change to happify gcc4
--- cups-1.1.23/pdftops/GfxFont.cxx.64bit-fixes	2004-02-02 17:41:09.000000000 -0500
+++ cups-1.1.23/pdftops/GfxFont.cxx	2005-08-17 08:59:25.000000000 -0400
@@ -15,6 +15,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <ctype.h>
 #include "gmem.h"
 #include "GHash.h"
@@ -969,7 +970,7 @@ Gushort *Gfx8BitFont::getCodeToGIDMap(Tr
   if ((nameToGID = ff->getNameToGID())) {
     for (i = 0; i < 256; ++i) {
       if (!map[i] && (charName = enc[i])) {
-	map[i] = (Gushort)(int)nameToGID->lookup(charName);
+	map[i] = (Gushort)(intptr_t)nameToGID->lookup(charName);
       }
     }
     delete nameToGID;