From bb82a448bee5fb230a18d605e5412e6646176a6c Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Tue, 3 Jan 2023 20:35:31 -0400 Subject: [PATCH] Fix another compile error with some compilers. --- src/modules/font/freetype/HarfbuzzShaper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/font/freetype/HarfbuzzShaper.cpp b/src/modules/font/freetype/HarfbuzzShaper.cpp index d2ab9a729..8b6ad01c5 100644 --- a/src/modules/font/freetype/HarfbuzzShaper.cpp +++ b/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()) {