summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-06-17 00:57:28 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-06-17 00:57:28 -0700
commit27bb1ca4b00cb47153db3016ced27c0327932fce (patch)
tree82f5338835b4d142b7d0b3d6f8115f835f50b1bc /src/coding.c
parent9a900ca947a69c01411ff467cb49cb09fb40b75a (diff)
downloademacs-27bb1ca4b00cb47153db3016ced27c0327932fce.tar.gz
* coding.c (produce_chars): Use ptrdiff_t, not int.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c3
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,
while (buf < buf_end)
{
- int c = *buf, i;
+ int c = *buf;
+ ptrdiff_t i;
if (c >= 0)
{