more random breakage in new compilers

This commit is contained in:
Adam D. Ruppe 2023-06-08 09:21:18 -04:00
parent 1b9ab20bc8
commit acaad09e40
1 changed files with 1 additions and 1 deletions

2
svg.d
View File

@ -4654,7 +4654,7 @@ void nsvg__flattenShapeStroke (NSVGrasterizer r, const(NSVG.Shape)* shape, float
}
}
extern(C) int nsvg__cmpEdge (in void *p, in void *q) nothrow @trusted @nogc {
extern(C) int nsvg__cmpEdge (scope const void *p, scope const void *q) nothrow @trusted @nogc {
NSVGedge* a = cast(NSVGedge*)p;
NSVGedge* b = cast(NSVGedge*)q;
if (a.y0 < b.y0) return -1;