From f614b8a19fe92cd13862605c16d69aa23c8b9bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 19 Dec 2020 18:10:03 +0100 Subject: Mark Platform_defaultFields const --- Settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Settings.c') diff --git a/Settings.c b/Settings.c index 96990a83..a0d42f39 100644 --- a/Settings.c +++ b/Settings.c @@ -359,7 +359,7 @@ Settings* Settings_new(int initialCpuCount) { // TODO: turn 'fields' into a Vector, // (and ProcessFields into proper objects). this->flags = 0; - ProcessField* defaults = Platform_defaultFields; + const ProcessField* defaults = Platform_defaultFields; for (int i = 0; defaults[i]; i++) { this->fields[i] = defaults[i]; this->flags |= Process_fields[defaults[i]].flags; -- cgit v1.2.3