Fix a comparison of constant warning with clang

This commit is contained in:
Akira TAGOH 2013-06-26 12:03:38 +09:00
parent cd9b1033a6
commit 9acc14c34a
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ FcObjectValidType (FcObject object, FcType type)
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;
}