Fix Integer to long casting compiler error for Eclipse.