Skip to content
Snippets Groups Projects
  • mio's avatar
    076ab0fa
    community/ftgl: fix build with gcc 14 · 076ab0fa
    mio authored and Celeste's avatar Celeste committed
    Fix type conversion error with gcc 14 and freetype.
    
    ```
    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*
    ```
    076ab0fa
    History
    community/ftgl: fix build with gcc 14
    mio authored and Celeste's avatar Celeste committed
    Fix type conversion error with gcc 14 and freetype.
    
    ```
    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*
    ```