diff options
Diffstat (limited to 'src/ports/SkFontHost_fontconfig.cpp')
-rw-r--r-- | src/ports/SkFontHost_fontconfig.cpp | 2 |
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); } |