diff options
author | Akira TAGOH <akira@tagoh.org> | 2013-06-28 15:04:11 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2013-06-28 15:04:11 +0900 |
commit | 197d06c49b01413303f2c92130594daa4fcaa6ad (patch) | |
tree | 54cd97ce895636052b51e9a7a6dc838ae769b2df /src/fcxml.c | |
parent | 38ab7ab2fbd83c0c62e4b78302b5fe89da0cb79e (diff) |
Add FcTypeUnknown to FcType to avoid comparison of constant -1
This change reverts 9acc14c34a372b54f9075ec3611588298fb2a501
because it doesn't work as expected when building
with -fshort-enums which is default for older arms ABIs
Thanks for pointing this out, Thomas Klausner, Valery Ushakov, and Martin Husemann
Diffstat (limited to 'src/fcxml.c')
-rw-r--r-- | src/fcxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcxml.c b/src/fcxml.c index 470e44fa..7e032306 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -705,7 +705,7 @@ FcTestCreate (FcConfigParse *parse, FcMatchKind kind, FcQual qual, const FcChar8 *field, - FcOp compare, + unsigned int compare, FcExpr *expr) { FcTest *test = (FcTest *) malloc (sizeof (FcTest)); |