From bdf9776b0b127b53a34be07f8adc0541df78654e Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 15 Sep 2025 11:08:58 +0200 Subject: regalloc: hand-roll qsort (bikeshedding...) --- test/reloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/reloc.c b/test/reloc.c index 2851cdb..0695770 100644 --- a/test/reloc.c +++ b/test/reloc.c @@ -2,6 +2,6 @@ float get_value(unsigned x) { - static float values [] = {1.1f, 1.2f, 1.3f, 1.4f}; + static const float values [] = {1.1f, 1.2f, 1.3f, 1.4f}; return x < 4 ? values[x] : 0.0f; } -- cgit v1.2.3