I'm not 100% sure, but there's a subtle difference between a pointer and an array and gcc was compiling about the former statement, so I simplified the line.