Skip to content

community/ftgl: fix build with gcc 14

mio requested to merge mio/aports:ftgl into master

Fix type conversion error with gcc 14 and freetype. Found during rebuild on a 3.21 builder (error log).

FTVectoriser.cpp: In member function 'void FTVectoriser::ProcessContours()':
FTVectoriser.cpp:171:25: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  171 |         char* tagList = &outline.tags[startIndex];
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                         |
      |                         unsigned char*
Edited by mio

Merge request reports

Loading