summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index 2ff370306b6..72bb821b2eb 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -194,8 +194,8 @@ extern KBOARD *all_kboards;
/* Nonzero in the single-kboard state, 0 in the any-kboard state. */
extern int single_kboard;
-/* Total number of times read_char has returned. */
-extern int num_input_events;
+/* Total number of times read_char has returned, modulo SIZE_MAX + 1. */
+extern size_t num_input_events;
/* Nonzero means polling for input is temporarily suppressed. */
extern int poll_suppress_count;