summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-28 01:18:53 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-28 01:18:53 -0700
commitede49d7153ed628078bcbc2473f898904b5250ea (patch)
treeee55ad2109712fbc72489489490439ef6c31c039 /src/alloc.c
parent2f30ecd05f7e5b9f78f256f75677530c501e5a6d (diff)
downloademacs-ede49d7153ed628078bcbc2473f898904b5250ea.tar.gz
emacs-ede49d7153ed628078bcbc2473f898904b5250ea.tar.bz2
emacs-ede49d7153ed628078bcbc2473f898904b5250ea.zip
* sysdep.c (get_random): Don't assume EMACS_INT is no wider than long.
Also, don't assume VALBITS / RAND_BITS is less than 5, and don't rely on undefined behavior when shifting a 1 left into the sign bit. * lisp.h (get_random): Change signature to match.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions