Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
error: cast from pointer to smaller type ‘unsigned int‘ loses information
在使用clang编译一处代码时报标题中的错误 原因 xff1a 64为机器上因为int为4字节 xff0c 指针统统为8字节 xff0c int无法容纳一个指针的值 解决 xff1a 将 unsigned int 强制类型转换修改成 xff
Error
cast
from
pointer
smaller