c99标准 数据类型

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