Cast as int to avoid the gaze of Sauron