Correct types used in array

Remove error/warning when compiling with C++11