From 07b3e5766332ad1b2ec0ae613476a123ec9c5453 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Thu, 1 Sep 2005 18:29:28 +0000 Subject: [PATCH] Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing FcObjectPtrU). --- src/fcpat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5