Skip to content

community/opencascade: fix build

mio requested to merge mio/aports:opencascade into master

Fix invalid type conversion error (loongarch64 rebuild error log).

/home/buildozer/aports/community/opencascade/src/OCCT-7_8_1/src/StdPrs/StdPrs_BRepFont.cxx: In member function 'Standard_Boolean StdPrs_BRepFont::renderGlyph(Standard_Utf32Char, TopoDS_Shape&)':
/home/buildozer/aports/community/opencascade/src/OCCT-7_8_1/src/StdPrs/StdPrs_BRepFont.cxx:460:30: error: invalid conversion from 'unsigned char*' to 'const char*' [-fpermissive]
  460 |     const char* aTags      = &anOutline->tags[aStartIndex];
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              |
      |                              unsigned char*
Edited by mio

Merge request reports

Loading