diff options
| author | 2025-09-15 11:08:58 +0200 | |
|---|---|---|
| committer | 2025-09-15 11:43:11 +0200 | |
| commit | bdf9776b0b127b53a34be07f8adc0541df78654e (patch) | |
| tree | 4b1f44c96aba086fafdd68f9efb9b3a8f54e4e8b /test | |
| parent | 7b1849402f33938aed8065ac9f4fab2ee8f22966 (diff) | |
regalloc: hand-roll qsort (bikeshedding...)
Diffstat (limited to 'test')
| -rw-r--r-- | test/reloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |