2
0
Эх сурвалжийг харах

Fix another compile error with some compilers.

Sasha Szpakowski 2 жил өмнө
parent
commit
bb82a448be

+ 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())
 			{