diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-05 23:10:06 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-05 23:10:06 -0700 |
| commit | dd52fcea063f37a9875bf9196dbe11a442e8adfc (patch) | |
| tree | 63f3c4a06456cdc3f025a0b4b4089f7be42108ec /src/alloc.c | |
| parent | 7f9bbdbbd60a3c9052537cd4b65a3a6d959b7746 (diff) | |
| download | emacs-dd52fcea063f37a9875bf9196dbe11a442e8adfc.tar.gz | |
* 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
