diff --git a/benchmarks/CSSBenchmark.c b/benchmarks/CSSBenchmark.c index d3328221..d47f9ff8 100644 --- a/benchmarks/CSSBenchmark.c +++ b/benchmarks/CSSBenchmark.c @@ -14,11 +14,11 @@ // Measure functions can be quite slow, for example when measuring text. // Simulate this by sleeping for 1 millisecond. -static CSSSize _measure(const void *context, - const float width, - const CSSMeasureMode widthMode, - const float height, - const CSSMeasureMode heightMode) { +static CSSSize _measure(void *context, + float width, + CSSMeasureMode widthMode, + float height, + CSSMeasureMode heightMode) { const struct timespec sleeptime = {0, 1000000}; nanosleep(&sleeptime, NULL); return (CSSSize){