Fixing compilation warning for missing long int casting.