关于[Warning] assignment to ‘char‘ from ‘char *‘ makes integer from pointer without a cast
[Warning] assignment to 'char' from 'char *' makes integer from pointer without a cast
这个警告的含义就是说,将一个指针赋值给char类型的变量,但是没有做cast操作。
虽然我们没有做强制转换,编译器会自己决定转换,一般来说都符合预期。