Fixed warning : implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int'