On 08/24/16 09:38, Bruce Evans wrote:
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.


OK, looks good.

--HPS

_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to