assignment from incompatible pointer type
时间: 2024-05-27 11:11:21 浏览: 152
linux下的fusb302驱动源码
5星 · 资源好评率100%
This error occurs when a function or expression is expecting a pointer of a certain type, but a pointer of a different type is passed to it.
For example, if a function is expecting a pointer to an integer, but a pointer to a character is passed to it, the error "assignment from incompatible pointer type" will occur.
To fix this error, make sure that the pointer being passed to the function or expression is of the correct type. If necessary, use type casting to convert the pointer to the correct type.
阅读全文