Fix compiler warning

Cast NSUInteger to unsigned long and use %lu format specifier

http://useyourloaf.com/blog/2014/04/13/format-string-issue-using-nsinteger.html
Merge pull request #962 from programmarchy/patch-1

Fix compiler warning