From: Patrick Lam Date: Thu, 1 Sep 2005 18:29:28 +0000 (+0000) Subject: Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing X-Git-Tag: fc-2_3_90~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=07b3e5766332ad1b2ec0ae613476a123ec9c5453;p=fontconfig.git Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing FcObjectPtrU). --- diff --git a/src/fcpat.c b/src/fcpat.c index e3f244a..bffaca3 100644 --- a/src/fcpat.c +++ b/src/fcpat.c @@ -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;