NSInteger age = 10;
NSLog@(@"%zd",age);
如果使用 %ld 占位符 如果不兼容32和64系统则warning:“add an explicit cast to 'long' instead”
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