Cast as int to remove warning