core: Fix compiler warning from wrong array size
2 files changed