Fix typo.
Cast to an int instead.