+2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
+ reviewed by: plam
+
+ * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
+
+ Shut up GCC warnings on amd.
+
2005-12-20 Patrick Lam <plam@mit.edu>
* ChangeLog:
* README:
/* N.B. FcPatternHash fails, since it's contents-based, not
* address-based, and we're in the process of mutating the FcPattern. */
for (pb = &FcPatternDirBuckets
- [((int)p / sizeof (FcPattern *)) % PATTERNDIR_HASH_SIZE];
+ [((unsigned long)p / sizeof (FcPattern *)) % PATTERNDIR_HASH_SIZE];
pb->m.p != p && pb->next;
pb = pb->next)
;
struct patternDirBucket *pb;
for (pb = &FcPatternDirBuckets
- [((int)p / sizeof (FcPattern *)) % PATTERNDIR_HASH_SIZE];
+ [((unsigned long)p / sizeof (FcPattern *)) % PATTERNDIR_HASH_SIZE];
pb; pb = pb->next)
if (pb->m.p == p)
return pb->m.fname;