diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index b7e8154107c..6e5d0655258 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -753,7 +753,7 @@ static struct coding_system coding_categories[coding_category_max]; | |||
| 753 | produced_chars++; \ | 753 | produced_chars++; \ |
| 754 | if (multibytep) \ | 754 | if (multibytep) \ |
| 755 | { \ | 755 | { \ |
| 756 | int ch = (c); \ | 756 | unsigned ch = (c); \ |
| 757 | if (ch >= 0x80) \ | 757 | if (ch >= 0x80) \ |
| 758 | ch = BYTE8_TO_CHAR (ch); \ | 758 | ch = BYTE8_TO_CHAR (ch); \ |
| 759 | CHAR_STRING_ADVANCE (ch, dst); \ | 759 | CHAR_STRING_ADVANCE (ch, dst); \ |
| @@ -770,7 +770,7 @@ static struct coding_system coding_categories[coding_category_max]; | |||
| 770 | produced_chars += 2; \ | 770 | produced_chars += 2; \ |
| 771 | if (multibytep) \ | 771 | if (multibytep) \ |
| 772 | { \ | 772 | { \ |
| 773 | int ch; \ | 773 | unsigned ch; \ |
| 774 | \ | 774 | \ |
| 775 | ch = (c1); \ | 775 | ch = (c1); \ |
| 776 | if (ch >= 0x80) \ | 776 | if (ch >= 0x80) \ |