]> git.pld-linux.org Git - packages/vtk.git/blame - conflicting-types.patch
- release 9 (by relup.sh)
[packages/vtk.git] / conflicting-types.patch
CommitLineData
df99c936
JR
1--- VTK-6.1.0/Rendering/FreeType/vtkFreeTypeTools.cxx.orig 2015-02-18 19:39:39.428358188 +0100
2+++ VTK-6.1.0/Rendering/FreeType/vtkFreeTypeTools.cxx 2015-02-18 19:40:48.241691988 +0100
3@@ -1186,7 +1186,7 @@
4 if (bitmap)
5 {
6 metaData.ascent = std::max(bitmapGlyph->top - 1, metaData.ascent);
7- metaData.descent = std::min(-(bitmap->rows - (bitmapGlyph->top - 1)),
8+ metaData.descent = std::min(-((int)bitmap->rows - ((int)bitmapGlyph->top - 1)),
9 metaData.descent);
10 }
11 ++heightString;
12@@ -1951,8 +1951,8 @@
13 if (bitmap)
14 {
15 bbox[0] = std::min(bbox[0], pen[0] + bitmapGlyph->left);
16- bbox[1] = std::max(bbox[1], pen[0] + bitmapGlyph->left + bitmap->width);
17- bbox[2] = std::min(bbox[2], pen[1] + bitmapGlyph->top - 1 - bitmap->rows);
18+ bbox[1] = std::max(bbox[1], pen[0] + bitmapGlyph->left + (int)bitmap->width);
19+ bbox[2] = std::min(bbox[2], pen[1] + bitmapGlyph->top - 1 - (int)bitmap->rows);
20 bbox[3] = std::max(bbox[3], pen[1] + bitmapGlyph->top - 1);
21 }
22 else
This page took 0.036849 seconds and 4 git commands to generate.