Theo de Raadt <deraadt at openbsd.org> wrote: > They should probably should be long long. > > There may need to be (long) casts on one variable when the calculation is > performed, otherwise numerical truncation can still occur. Er, (long long) casts.