-
Paul Eggert authored
* image.c (slurp_file): Switch from int to ptrdiff_t. All uses changed. (slurp_file, svg_load): Check that file size fits in both size_t (for malloc) and ptrdiff_t (for sanity and safety).
c6c3615f
* image.c (slurp_file): Switch from int to ptrdiff_t. All uses changed. (slurp_file, svg_load): Check that file size fits in both size_t (for malloc) and ptrdiff_t (for sanity and safety).