]> git.eshelyaron.com Git - emacs.git/commitdiff
(wait_reading_process_input): Extract the number from read_kbd with XINT.
authorRichard M. Stallman <rms@gnu.org>
Tue, 19 Mar 1996 23:43:50 +0000 (23:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 19 Mar 1996 23:43:50 +0000 (23:43 +0000)
src/process.c

index 49fd0597a0691e2539a00e0a1314f3a9162b1bfd..eef1c18e4eb62336e4734166b993e293d9f593a5 100644 (file)
@@ -2076,7 +2076,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
         run timer events directly.
         (Callers that will immediately read keyboard events
         call timer_delay on their own.)  */
-      if (read_kbd >= 0)
+      if (XINT (read_kbd) >= 0)
        {
          EMACS_TIME timer_delay;
          int old_timers_run = timers_run;