Module Name: xsrc
Committed By: wiz
Date: Thu Jun 27 12:44:11 UTC 2013
Modified Files:
xsrc/external/mit/fontconfig/dist/src: fcname.c
Log Message:
Fix a comparison of constant warning with clang
>From upstream:
commit 9acc14c34a372b54f9075ec3611588298fb2a501
Author: Akira TAGOH <[email protected]>
Date: Wed Jun 26 12:03:38 2013 +0900
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/fontconfig/dist/src/fcname.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/fontconfig/dist/src/fcname.c
diff -u xsrc/external/mit/fontconfig/dist/src/fcname.c:1.4 xsrc/external/mit/fontconfig/dist/src/fcname.c:1.5
--- xsrc/external/mit/fontconfig/dist/src/fcname.c:1.4 Mon Jun 3 19:49:01 2013
+++ xsrc/external/mit/fontconfig/dist/src/fcname.c Thu Jun 27 12:44:11 2013
@@ -86,7 +86,7 @@ FcObjectValidType (FcObject object, FcTy
return FcTrue;
break;
default:
- if (t->type == (unsigned int) -1 || type == t->type)
+ if ((unsigned int) t->type == (unsigned int) -1 || type == t->type)
return FcTrue;
break;
}