소스 검색

Fix another compile error with some compilers.

Sasha Szpakowski 2 년 전
부모
커밋
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())
 			{