opencascade/opencascade-7.8.1-freetype-2.13.3.patch
Silvan Calarco d06108540d sync some packaging changes from Fedora
renamed from occt to opencascade [release 7.8.1-2mamba;Fri Oct 25 2024]
2024-10-27 09:47:59 +01:00

12 lines
624 B
Diff

--- occt-7.8.1/src/StdPrs/StdPrs_BRepFont.cxx.orig 2024-10-25 12:33:57.230234509 +0200
+++ occt-7.8.1/src/StdPrs/StdPrs_BRepFont.cxx 2024-10-25 12:34:41.493338095 +0200
@@ -457,7 +457,7 @@
for (short aContour = 0, aStartIndex = 0; aContour < anOutline->n_contours; ++aContour)
{
const FT_Vector* aPntList = &anOutline->points[aStartIndex];
- const char* aTags = &anOutline->tags[aStartIndex];
+ auto aTags = &anOutline->tags[aStartIndex];
const short anEndIndex = anOutline->contours[aContour];
const short aPntsNb = (anEndIndex - aStartIndex) + 1;
aStartIndex = anEndIndex + 1;