aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorPaul Eggert2011-06-12 18:07:35 -0700
committerPaul Eggert2011-06-12 18:07:35 -0700
commit34206dd201b905b8f9eec84b4e90ba591b06a79a (patch)
tree3a08862ed4619be5f2675986ec463d3432267cee /src/data.c
parentc5958d4cf336fdbc30364e7d701d6565acaf4002 (diff)
downloademacs-34206dd201b905b8f9eec84b4e90ba591b06a79a.tar.gz
emacs-34206dd201b905b8f9eec84b4e90ba591b06a79a.zip
Make sure a 64-bit char is never passed to ENCODE_CHAR.
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.
Diffstat (limited to 'src/data.c')
0 files changed, 0 insertions, 0 deletions