summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-05 23:10:06 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-05 23:10:06 -0700
commitdd52fcea063f37a9875bf9196dbe11a442e8adfc (patch)
tree63f3c4a06456cdc3f025a0b4b4089f7be42108ec /src/alloc.c
parent7f9bbdbbd60a3c9052537cd4b65a3a6d959b7746 (diff)
downloademacs-dd52fcea063f37a9875bf9196dbe11a442e8adfc.tar.gz
emacs-dd52fcea063f37a9875bf9196dbe11a442e8adfc.tar.bz2
emacs-dd52fcea063f37a9875bf9196dbe11a442e8adfc.zip
* image.c: Use ptrdiff_t, not int, for sizes.
(slurp_file): Switch from int to ptrdiff_t. All uses changed. (slurp_file): Check that file size fits in both size_t (for malloc) and ptrdiff_t (for sanity and safety).
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions