Made shape array 'int' to suppress warning

- I fixed this in one of my pending PRs as part of another commit, but I'm fast-tracking it since otherwise the builder can spew out a ton of warnings. It should be good to merge straight away.