don't downcast to int before determining number of hours

1 file changed