put parentheses around char* on line 36