From 4ed08dcd601365ef4a29b2c1d5ae45b301fc08a3 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 5 Aug 2013 20:50:55 +0000 Subject: (svn r25694) -Fix (r25651): Picky GCC. --- src/gfx_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp index 4d1d382d6..bcd5add36 100644 --- a/src/gfx_layout.cpp +++ b/src/gfx_layout.cpp @@ -554,7 +554,7 @@ Point Layouter::GetCharPosition(const char *ch) const for (int i = 0; i < run->getGlyphCount(); i++) { /* Matching glyph? Return position. */ if ((size_t)run->getGlyphToCharMap()[i] == index) { - Point p = { run->getPositions()[i * 2], run->getPositions()[i * 2 + 1] }; + Point p = { (int)run->getPositions()[i * 2], (int)run->getPositions()[i * 2 + 1] }; return p; } } -- cgit v1.2.3-70-g09d2