aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/reloc.c')
-rw-r--r--test/reloc.c2
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;
}