在64-bit机器中编译32-bit的代码出现int(强制转换而至)精度溢出:
Debug==>
- error: cast from ‘void*’ to ‘int’ loses precision
Solution==>
int -->intptr_t
Reference:
转载于:https://blog.51cto.com/turtle0215/634583
在64-bit机器中编译32-bit的代码出现int(强制转换而至)精度溢出:
Debug==>
Solution==>
int -->intptr_t
Reference:
转载于:https://blog.51cto.com/turtle0215/634583