Browse Source

Fix another compile error with some compilers.

Sasha Szpakowski 2 years ago
parent
commit
bb82a448be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/font/freetype/HarfbuzzShaper.cpp

+ 1 - 1
src/modules/font/freetype/HarfbuzzShaper.cpp

@@ -267,7 +267,7 @@ void HarfbuzzShaper::computeGlyphPositions(const ColoredCodepoints &codepoints,
 				continue;
 
 			// This is a glyph index at this point, despite the name.
-			GlyphIndex gindex = { info.codepoint, bufferrange.index };
+			GlyphIndex gindex = { (int) info.codepoint, bufferrange.index };
 
 			if (clustercodepoint == '\t' && isUsingSpacesForTab())
 			{