Getting rid of some compiler warnings

BufferData(...) returns a const char * pointer and we were feeding it
straight into a function that needs a char *. This change forces the
cast from const char * to char *.