]> git.eshelyaron.com Git - emacs.git/commit
Fix integer-overflow bug in Time conversion
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Oct 2019 20:07:49 +0000 (13:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Oct 2019 20:23:11 +0000 (13:23 -0700)
commitb72ff3667a137ca5d03f6a5c3cff722f004bc8ed
treed162f5fcad5e194d40e9ebeeaef5b5d07e3b5bcf
parent36c75c2a413beebc0b5163ba962cacfcea36db02
Fix integer-overflow bug in Time conversion

Problem reported by Stefan Monnier (Bug#37795).
* src/keyboard.c (make_lispy_position)
(make_scroll_bar_position, make_lispy_event):
* src/xterm.c (x_ewmh_activate_frame):
Use INT_TO_INTEGER to convert Time to a Lisp integer,
since the value might not be a fixnum.
src/keyboard.c
src/xterm.c