tools: Fix compiler warning from wrong array size
6 files changed