aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert2011-09-24 18:27:19 -0700
committerPaul Eggert2011-09-24 18:27:19 -0700
commit60ad3eab6fe6e4278cf7674606357bd8d79c5d68 (patch)
tree83671c0ea602ad101b7203a174dca492336ece5f /src/coding.c
parent3c7649c1859d6252444044fd64c7b27d8e487f68 (diff)
downloademacs-60ad3eab6fe6e4278cf7674606357bd8d79c5d68.tar.gz
emacs-60ad3eab6fe6e4278cf7674606357bd8d79c5d68.zip
* charset.h (DECODE_CHAR): Return int, not unsigned;
this is what was intended anyway, and it avoids undefined behavior. (CHARSET_OFFSET): Remove unused macro, instead of fixing its integer-overflow issues. (ENCODE_CHAR): Return unsigned on all hosts, not just on 32-bit hosts. Formerly, it returned EMACS_INT on 64-bit hosts in the common case where the argument is EMACS_INT, and this behavior is not intended.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions