Roustem's Tumblr

Apr 12 2011
This is nice: LLVM 2.0 warns about incorrect formatting messages.

The correct way to format NSIntegers, is to convert them to long and use %ld:


NSLog(@"Failed to read from stream: %ld", (long)readLen);

This is nice: LLVM 2.0 warns about incorrect formatting messages.

The correct way to format NSIntegers, is to convert them to long and use %ld:

NSLog(@"Failed to read from stream: %ld", (long)readLen);

Page 1 of 1