Change `char* mat` to `char *mat`