• Paul Eggert's avatar
    * keymap.c: Integer overflow fixes. · dbe2216b
    Paul Eggert authored
    (cmm_size, current_minor_maps): Use ptrdiff_t, not int, to count maps.
    (current_minor_maps): Check for size calculation overflow.
    * keymap.h: Change prototypes to match the above.
    dbe2216b
keymap.h 2.09 KB