Removed unnecessary value in realign()
Removed unnecessary value in realign()

Modulo arithmetic means that ( N + ( N - M ) ) % N = ( N - M ) % N = -M % N.

The original was probably written on very little sleep.

cfriedt/ringbuffer,cfriedt/ringbuffer