projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd9b103
)
Fix a comparison of constant warning with clang
author
Akira TAGOH
<akira@tagoh.org>
Wed, 26 Jun 2013 03:03:38 +0000
(12:03 +0900)
committer
Akira TAGOH
<akira@tagoh.org>
Wed, 26 Jun 2013 03:03:38 +0000
(12:03 +0900)
src/fcname.c
patch
|
blob
|
history
diff --git
a/src/fcname.c
b/src/fcname.c
index
a525345
..
8d02da7
100644
(file)
--- a/
src/fcname.c
+++ b/
src/fcname.c
@@
-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;
}