Просмотр исходного кода

Fix another compile error with some compilers.

Sasha Szpakowski 2 лет назад
Родитель
Сommit
bb82a448be
1 измененных файлов с 1 добавлено и 1 удалено
  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())
 			{