• Paul Eggert's avatar
    Use ptrdiff_t, not int, for sizes. · c6c3615f
    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
ChangeLog 153 KB