aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ports/SkFontHost_fontconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp
index d3a32119c5..bf94366f5f 100644
--- a/src/ports/SkFontHost_fontconfig.cpp
+++ b/src/ports/SkFontHost_fontconfig.cpp
@@ -68,7 +68,7 @@ static SkTypeface::Style UniqueIdToStyle(unsigned uniqueid)
static unsigned FileIdAndStyleToUniqueId(unsigned fileid,
SkTypeface::Style style)
{
- SkASSERT(style & 0xff == style);
+ SkASSERT((style & 0xff) == style);
return (fileid << 8) | static_cast<int>(style);
}