diff options
| author | Paul Eggert | 2012-06-17 00:57:28 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-06-17 00:57:28 -0700 |
| commit | 27bb1ca4b00cb47153db3016ced27c0327932fce (patch) | |
| tree | 82f5338835b4d142b7d0b3d6f8115f835f50b1bc /src/coding.c | |
| parent | 9a900ca947a69c01411ff467cb49cb09fb40b75a (diff) | |
| download | emacs-27bb1ca4b00cb47153db3016ced27c0327932fce.tar.gz emacs-27bb1ca4b00cb47153db3016ced27c0327932fce.zip | |
* coding.c (produce_chars): Use ptrdiff_t, not int.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index ab13f0311c0..64826ae16b9 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6765,7 +6765,8 @@ produce_chars (struct coding_system *coding, Lisp_Object translation_table, | |||
| 6765 | 6765 | ||
| 6766 | while (buf < buf_end) | 6766 | while (buf < buf_end) |
| 6767 | { | 6767 | { |
| 6768 | int c = *buf, i; | 6768 | int c = *buf; |
| 6769 | ptrdiff_t i; | ||
| 6769 | 6770 | ||
| 6770 | if (c >= 0) | 6771 | if (c >= 0) |
| 6771 | { | 6772 | { |