• Paul Eggert's avatar
    Make sure a 64-bit char is never passed to ENCODE_CHAR. · 34206dd2
    Paul Eggert authored
    This is for reasons similar to the recent CHAR_STRING fix.
    * charset.c (Fencode_char): Check that character arg is actually
    a character.  Pass an int to ENCODE_CHAR.
    * charset.h (ENCODE_CHAR): Verify that the character argument is no
    wider than 'int', as a compile-time check to prevent future regressions
    in this area.
    34206dd2
charset.c 68.5 KB