From acaad09e40926bb9159ef4bbe6d6ac4391a6bacb Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 8 Jun 2023 09:21:18 -0400 Subject: [PATCH] more random breakage in new compilers --- svg.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svg.d b/svg.d index 4e81875..8c9a2b6 100644 --- a/svg.d +++ b/svg.d @@ -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;