]> git.wh0rd.org Git - fontconfig.git/commitdiff
Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing
authorPatrick Lam <plam@MIT.EDU>
Thu, 1 Sep 2005 18:29:28 +0000 (18:29 +0000)
committerPatrick Lam <plam@MIT.EDU>
Thu, 1 Sep 2005 18:29:28 +0000 (18:29 +0000)
    FcObjectPtrU).

src/fcpat.c

index e3f244aa8a39419d39164aa5bcf76da2a7ecf25a..bffaca3cc47c4712885f15e06e87d41d0304c6bc 100644 (file)
@@ -792,7 +792,7 @@ FcPatternHash (const FcPattern *p)
     for (i = 0; i < p->num; i++)
     {
        h = (((h << 1) | (h >> 31)) ^ 
-            FcStringHash ((const FcChar8 *) ((FcPatternEltU(p->elts)+i)->object)) ^
+            FcStringHash (FcObjectPtrU ((FcPatternEltU(p->elts)+i)->object)) ^
             FcValueListHash ((FcPatternEltU(p->elts)+i)->values));
     }
     return h;