summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-arg.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-08-03 05:34:44 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-08-03 05:34:44 -0700
commit8f88f7d3c5da38cd2d781770b533dc6c93c52d59 (patch)
treea476fa662f618c23f55cfd5999425217f489de92 /lisp/eshell/esh-arg.el
parent5fe16efb24c1b1a89959f7af3c886a4022c8f1b1 (diff)
downloademacs-8f88f7d3c5da38cd2d781770b533dc6c93c52d59.tar.gz
Avoid undefined behavior with signed left shift.
Caught by 'gcc -fsanitize=undefined'. * dispextern.h, scroll.c (scrolling_max_lines_saved, scrolling_1): * dispnew.c (line_hash_code, scrolling): * scroll.c (calculate_scrolling, calculate_direct_scrolling): Use 'unsigned', not 'int', for line hashes. (scrolling_max_lines_saved): Avoid mystery constants for hash sizes.
Diffstat (limited to 'lisp/eshell/esh-arg.el')
0 files changed, 0 insertions, 0 deletions