The error message is very clear; &buffer is of the type char (*)[9], i.e., a pointer to an array of char with 9 elements (yes, arrays are fully fledged types).
That is not the same as a char*. However, arrays degrade to pointers to the first element when needed, so...