toggle quoted messageShow quoted text
Thanks a lot for this - where did you find it?
On 10 Jul 2017, at 11:54, Gerriet M. Denkmann <firstname.lastname@example.org> wrote:
On 10 Jul 2017, at 16:37, Dave <email@example.com> wrote:Formats for NS(U)Integer:
I’m trying to use NSInteger and/or NSUInteger in a InitWithFormat statement, I’m using %ld as the specifier but this is producing warnings? Has this changed recently, because code that used to compile without warnings now cause warnings. What is the correct specifier to use for these types?
%t… (%td, %to, %tu %tx, %tX) for unsigned results NSUInteger
%z… (%zd, %zo, %zu %zx, %zX) for signed results NSInteger