fix warning

Values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead

@aprato let me know what you think.