On Wed, 24 Aug 2016, Hans Petter Selasky wrote: > On 08/23/16 21:50, Bruce Evans wrote: >> + kbd->kb_delay1 = imax(((int *)arg)[0], 250); >> + kbd->kb_delay2 = imax(((int *)arg)[1], 34); > > It looks like this will pass negative kb_delay's. How do you handle that? imax(negtive, POSITIVE) == POSITIVE. Bruce