* keyboard.c, keyboard.h (num_input_events): Now size_t.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 27 Mar 2011 02:20:34 +0000 (19:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 27 Mar 2011 02:20:34 +0000 (19:20 -0700)
commitffa8c828c6c76d3c246443a6752f1038eab60413
tree0e5e4dad1a5036c854e3042748843d0d72ccfe5f
parentc5101a77a4066d979698d356c3a9c7f387007359
* keyboard.c, keyboard.h (num_input_events): Now size_t.

This avoids undefined behavior on integer overflow, and is a bit
more convenient anyway since it is compared to a size_t variable.
src/ChangeLog
src/keyboard.c
src/keyboard.h