NSInteger age = 10;
NSLog@(@"%zd",age);
如果使用 %ld 占位符 如果不兼容32和64系统则warning:“add an explicit cast to 'long' instead”
本文共 170 字,大约阅读时间需要 1 分钟。
NSInteger age = 10;
NSLog@(@"%zd",age);
如果使用 %ld 占位符 如果不兼容32和64系统则warning:“add an explicit cast to 'long' instead”
转载于:https://www.cnblogs.com/code-Officer/p/6321825.html