Compile in C++11 mode: fix narrowing conversion in arrays

Change-Id: I245abe09f60cb24e435af53ad7b2d2142f91b55c
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>