FIX: build error char* convert

For fixing build error.