Fixed segfault for #warnings
Manually counting an array... wat