summaryrefslogtreecommitdiff
path: root/media-libs/ftgl/files/ftgl-2.1.3_rc5-freetype-2.13.3.patch
blob: a1a5263e8c091ebc15c6d95c3b41b6b2b450a4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/937849
--- a/src/FTVectoriser.cpp
+++ b/src/FTVectoriser.cpp
@@ -166,7 +166,7 @@ void FTVectoriser::ProcessContours()
     for(int i = 0; i < ftContourCount; ++i)
     {
         FT_Vector* pointList = &outline.points[startIndex];
-        char* tagList = &outline.tags[startIndex];
+        char* tagList = reinterpret_cast<char*>(&outline.tags[startIndex]);
 
         endIndex = outline.contours[i];
         contourLength =  (endIndex - startIndex) + 1;