diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-19 18:10:03 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-12-19 21:13:32 +0100 |
commit | f614b8a19fe92cd13862605c16d69aa23c8b9bd1 (patch) | |
tree | 8f90a41b32acf8947b2272893e7332ebafcdee67 /Settings.c | |
parent | c150e4bde9080799c7c9f115565c8324faa953be (diff) |
Mark Platform_defaultFields const
Diffstat (limited to 'Settings.c')
-rw-r--r-- | Settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |